Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PrimaryKeyTypeConverter.cs
- GetWinFXPath.cs
- ConnectionOrientedTransportChannelListener.cs
- ConstraintStruct.cs
- DropDownHolder.cs
- IProvider.cs
- SendActivityEventArgs.cs
- OciHandle.cs
- CodeNamespaceCollection.cs
- MessageContractMemberAttribute.cs
- LogEntryHeaderv1Deserializer.cs
- ToolStripButton.cs
- _IPv6Address.cs
- OdbcErrorCollection.cs
- PathNode.cs
- SqlInternalConnectionSmi.cs
- OdbcException.cs
- Object.cs
- wmiprovider.cs
- LayoutTableCell.cs
- Decoder.cs
- OleDbStruct.cs
- GlyphCache.cs
- XmlTextReader.cs
- XmlNullResolver.cs
- Helper.cs
- AutomationAttributeInfo.cs
- DbgCompiler.cs
- Point3D.cs
- KerberosTicketHashIdentifierClause.cs
- Propagator.ExtentPlaceholderCreator.cs
- BitmapFrame.cs
- ControlSerializer.cs
- RawKeyboardInputReport.cs
- NetworkInformationPermission.cs
- __Filters.cs
- ReferentialConstraint.cs
- TabletDevice.cs
- ResolveResponse.cs
- XamlToRtfParser.cs
- TableChangeProcessor.cs
- RuleRef.cs
- SafeFindHandle.cs
- COMException.cs
- TextCharacters.cs
- IgnoreDeviceFilterElementCollection.cs
- Attributes.cs
- SplitContainer.cs
- BooleanSwitch.cs
- EntityContainerEmitter.cs
- DomainConstraint.cs
- DataReceivedEventArgs.cs
- FileAuthorizationModule.cs
- Container.cs
- JumpTask.cs
- InlineCollection.cs
- MailDefinition.cs
- RelationshipNavigation.cs
- Matrix3DStack.cs
- GZipStream.cs
- XmlAnyElementAttributes.cs
- MouseActionConverter.cs
- RouteItem.cs
- ThrowHelper.cs
- StrongNameUtility.cs
- AbsoluteQuery.cs
- PolicyAssertionCollection.cs
- TraceListeners.cs
- InputScope.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- MediaPlayerState.cs
- XmlSchemaElement.cs
- DllNotFoundException.cs
- SchemaImporter.cs
- XmlTypeAttribute.cs
- StrongTypingException.cs
- ObjectAnimationUsingKeyFrames.cs
- RepeaterDesigner.cs
- GZipStream.cs
- ErrorFormatter.cs
- PropertyGeneratedEventArgs.cs
- OdbcCommandBuilder.cs
- Part.cs
- AxHost.cs
- FixedSOMLineRanges.cs
- EntityDataSourceStatementEditor.cs
- XmlRawWriter.cs
- HtmlEmptyTagControlBuilder.cs
- ListBox.cs
- RelatedImageListAttribute.cs
- XmlWrappingReader.cs
- LoadRetryConstantStrategy.cs
- JournalNavigationScope.cs
- metadatamappinghashervisitor.cs
- ModuleElement.cs
- TypeBrowser.xaml.cs
- ServiceTimeoutsElement.cs
- HtmlMobileTextWriter.cs
- FloaterBaseParaClient.cs
- Storyboard.cs