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
- AutomationPeer.cs
- BuildProviderCollection.cs
- OperatingSystem.cs
- TreeBuilder.cs
- ListChangedEventArgs.cs
- ChainOfResponsibility.cs
- BooleanSwitch.cs
- RedBlackList.cs
- ListViewDeleteEventArgs.cs
- CultureInfoConverter.cs
- DynamicResourceExtension.cs
- arc.cs
- DataRecordInternal.cs
- HotSpotCollection.cs
- FormViewCommandEventArgs.cs
- PrintDialogException.cs
- DocumentSequence.cs
- TableRow.cs
- QueryStringHandler.cs
- EntityClassGenerator.cs
- DependencyObjectPropertyDescriptor.cs
- DbDataReader.cs
- CompositeFontInfo.cs
- DataGridParentRows.cs
- DynamicValidatorEventArgs.cs
- DataSourceCache.cs
- DataObjectSettingDataEventArgs.cs
- CellIdBoolean.cs
- XhtmlTextWriter.cs
- PrintEvent.cs
- FrameworkElementFactory.cs
- IdnMapping.cs
- EntityClassGenerator.cs
- AnnotationDocumentPaginator.cs
- SmiContext.cs
- CodeDirectoryCompiler.cs
- SHA512Managed.cs
- Helpers.cs
- SharedMemory.cs
- TypeBuilderInstantiation.cs
- cryptoapiTransform.cs
- BasePropertyDescriptor.cs
- QuotedPairReader.cs
- ToolStripDropDownButton.cs
- XPathNodeHelper.cs
- ArrayConverter.cs
- SystemIPv4InterfaceProperties.cs
- StylusDevice.cs
- InheritanceAttribute.cs
- RadioButtonPopupAdapter.cs
- Wildcard.cs
- XmlMapping.cs
- WindowsPen.cs
- ClientConfigurationHost.cs
- PackageDigitalSignature.cs
- TdsRecordBufferSetter.cs
- DbConnectionStringBuilder.cs
- XLinq.cs
- OleDbRowUpdatedEvent.cs
- DataServiceResponse.cs
- TemplateControlParser.cs
- FileIOPermission.cs
- LayoutSettings.cs
- PrintPreviewGraphics.cs
- NativeActivityAbortContext.cs
- ChildrenQuery.cs
- _AuthenticationState.cs
- Vector3D.cs
- SelectionPattern.cs
- BaseProcessor.cs
- UserPreferenceChangedEventArgs.cs
- cookieexception.cs
- CollectionViewGroupRoot.cs
- SizeLimitedCache.cs
- PeerApplicationLaunchInfo.cs
- wgx_exports.cs
- ProcessInputEventArgs.cs
- CornerRadius.cs
- SqlStream.cs
- SmiEventSink.cs
- ScriptManager.cs
- StringStorage.cs
- CodeObjectCreateExpression.cs
- XmlTypeAttribute.cs
- XmlComplianceUtil.cs
- RepeaterItem.cs
- Codec.cs
- GregorianCalendarHelper.cs
- UnsafeNativeMethods.cs
- TreeViewItemAutomationPeer.cs
- Rotation3DKeyFrameCollection.cs
- MasterPageParser.cs
- SamlAudienceRestrictionCondition.cs
- XmlNamespaceMappingCollection.cs
- WebExceptionStatus.cs
- WorkItem.cs
- DropSource.cs
- FontDriver.cs
- ToolboxComponentsCreatingEventArgs.cs
- SiteMapDataSourceView.cs