Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IndexOutOfRangeException.cs / 1305376 / IndexOutOfRangeException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: IndexOutOfRangeException ** ** ** Purpose: Exception class for invalid array indices. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public sealed class IndexOutOfRangeException : SystemException { public IndexOutOfRangeException() : base(Environment.GetResourceString("Arg_IndexOutOfRangeException")) { SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); } public IndexOutOfRangeException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); } public IndexOutOfRangeException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); } internal IndexOutOfRangeException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: IndexOutOfRangeException ** ** ** Purpose: Exception class for invalid array indices. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public sealed class IndexOutOfRangeException : SystemException { public IndexOutOfRangeException() : base(Environment.GetResourceString("Arg_IndexOutOfRangeException")) { SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); } public IndexOutOfRangeException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); } public IndexOutOfRangeException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); } internal IndexOutOfRangeException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SessionPageStateSection.cs
- TableSectionStyle.cs
- BamlStream.cs
- View.cs
- DataContractSerializerSection.cs
- ThemeDirectoryCompiler.cs
- PageRanges.cs
- DocumentStatusResources.cs
- UriTemplateTable.cs
- DocumentViewerAutomationPeer.cs
- HttpException.cs
- SubMenuStyleCollection.cs
- TaskbarItemInfo.cs
- ArrangedElement.cs
- HttpListener.cs
- StreamResourceInfo.cs
- SemanticResolver.cs
- SerializationFieldInfo.cs
- ChannelCacheSettings.cs
- ObjectSpanRewriter.cs
- QueryOutputWriter.cs
- SchemaMerger.cs
- FloaterParaClient.cs
- SqlException.cs
- InkCanvasFeedbackAdorner.cs
- RequestCacheManager.cs
- PropertyIDSet.cs
- ViewBase.cs
- CollectionChange.cs
- KeyEventArgs.cs
- ChannelManager.cs
- PersonalizableAttribute.cs
- TextServicesHost.cs
- IndependentlyAnimatedPropertyMetadata.cs
- KeyFrames.cs
- SplineQuaternionKeyFrame.cs
- DbProviderSpecificTypePropertyAttribute.cs
- UIElement3D.cs
- EncodedStreamFactory.cs
- LayoutEditorPart.cs
- XmlSchemaDatatype.cs
- Point.cs
- EmptyControlCollection.cs
- ToolStripTextBox.cs
- SqlCacheDependency.cs
- WinEventWrap.cs
- EntityDataSourceSelectedEventArgs.cs
- Grid.cs
- DesignerAttribute.cs
- Image.cs
- Camera.cs
- FastEncoder.cs
- wpf-etw.cs
- SamlAuthorizationDecisionClaimResource.cs
- SetterTriggerConditionValueConverter.cs
- AdjustableArrowCap.cs
- ValidationSummary.cs
- Privilege.cs
- ContainsRowNumberChecker.cs
- ColumnMapVisitor.cs
- ExistsInCollection.cs
- SqlMetaData.cs
- SqlNodeAnnotation.cs
- StylusShape.cs
- SchemaTypeEmitter.cs
- FormParameter.cs
- DisposableCollectionWrapper.cs
- Fonts.cs
- SHA512Managed.cs
- DllNotFoundException.cs
- ObjectSelectorEditor.cs
- DictionaryItemsCollection.cs
- MouseBinding.cs
- BadImageFormatException.cs
- _AutoWebProxyScriptEngine.cs
- WindowsListViewSubItem.cs
- TextParentUndoUnit.cs
- RequestBringIntoViewEventArgs.cs
- HexParser.cs
- HScrollProperties.cs
- SubpageParaClient.cs
- SqlBinder.cs
- WindowsGraphicsWrapper.cs
- RtType.cs
- HTMLTextWriter.cs
- Vector3DIndependentAnimationStorage.cs
- GroupBox.cs
- DataControlPagerLinkButton.cs
- UIElementAutomationPeer.cs
- XsltInput.cs
- TransactionChannelListener.cs
- TargetParameterCountException.cs
- BufferModeSettings.cs
- ParallelTimeline.cs
- TypeLoadException.cs
- Membership.cs
- Configuration.cs
- LocatorPartList.cs
- Vector.cs
- SystemFonts.cs