Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / IndexOutOfRangeException.cs / 1 / 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
- TempEnvironment.cs
- Vector3D.cs
- ValidationHelper.cs
- CompilerLocalReference.cs
- RecordBuilder.cs
- FormatVersion.cs
- LineBreakRecord.cs
- CustomAttribute.cs
- Literal.cs
- DelayedRegex.cs
- DataSourceConverter.cs
- ObjectView.cs
- UnsafeNativeMethodsTablet.cs
- TimersDescriptionAttribute.cs
- MessageSecurityVersion.cs
- XmlDataLoader.cs
- SchemaImporterExtensionsSection.cs
- StylusDownEventArgs.cs
- ParagraphResult.cs
- AssemblyAttributes.cs
- invalidudtexception.cs
- DefaultConfirmation.cs
- ImageList.cs
- ObjectCacheHost.cs
- HandoffBehavior.cs
- WebPartConnectionsDisconnectVerb.cs
- XmlDocumentSerializer.cs
- Group.cs
- Message.cs
- QilTernary.cs
- RtfToXamlReader.cs
- AsyncCodeActivity.cs
- SubtreeProcessor.cs
- DataStreams.cs
- DesignerAutoFormatStyle.cs
- RIPEMD160.cs
- rsa.cs
- RenderOptions.cs
- SystemFonts.cs
- XmlMtomWriter.cs
- DataErrorValidationRule.cs
- NativeRightsManagementAPIsStructures.cs
- NetMsmqSecurity.cs
- MemberMemberBinding.cs
- ValidationRuleCollection.cs
- CategoriesDocumentFormatter.cs
- ModelTreeEnumerator.cs
- BoundsDrawingContextWalker.cs
- ToolboxItem.cs
- XmlChildNodes.cs
- ExceptionUtil.cs
- QueryPageSettingsEventArgs.cs
- TextBoxBase.cs
- EntityDataSourceValidationException.cs
- HelpExampleGenerator.cs
- TaskbarItemInfo.cs
- HitTestParameters3D.cs
- NativeMethods.cs
- SchemaReference.cs
- XmlDataLoader.cs
- SystemIdentity.cs
- ActivityBindForm.cs
- BinaryNode.cs
- DatatypeImplementation.cs
- XmlNodeComparer.cs
- DesignOnlyAttribute.cs
- ProxyManager.cs
- PreservationFileReader.cs
- ListViewPagedDataSource.cs
- NetworkInterface.cs
- ZipIOExtraFieldZip64Element.cs
- SqlDataReaderSmi.cs
- ListViewItemSelectionChangedEvent.cs
- RepeatBehavior.cs
- Crypto.cs
- TypeNameParser.cs
- DocumentPageHost.cs
- KeySpline.cs
- SessionPageStateSection.cs
- ByteKeyFrameCollection.cs
- DataGridViewControlCollection.cs
- DateTimeUtil.cs
- Stream.cs
- GACIdentityPermission.cs
- XsltLibrary.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- DynamicActionMessageFilter.cs
- StylusTip.cs
- CompilationUnit.cs
- ListSortDescriptionCollection.cs
- SQLSingleStorage.cs
- RoutedPropertyChangedEventArgs.cs
- ControlCodeDomSerializer.cs
- MobilePage.cs
- PreDigestedSignedInfo.cs
- NamespaceDecl.cs
- SectionInput.cs
- SQLResource.cs
- DictionaryKeyPropertyAttribute.cs
- XmlSerializationGeneratedCode.cs