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
- SQLRoleProvider.cs
- UpWmlMobileTextWriter.cs
- Icon.cs
- RegexRunnerFactory.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DataGridViewRowConverter.cs
- StylusPointProperties.cs
- XmlBinaryReader.cs
- GeneralTransform.cs
- SmiRecordBuffer.cs
- GridViewRowCollection.cs
- StickyNote.cs
- EdmProviderManifest.cs
- HelpInfo.cs
- HtmlTableCell.cs
- EntityCollectionChangedParams.cs
- XmlDocumentFragment.cs
- ToolStripSeparatorRenderEventArgs.cs
- GetReadStreamResult.cs
- AnnotationHighlightLayer.cs
- PlanCompiler.cs
- SettingsContext.cs
- DefaultAssemblyResolver.cs
- AvTraceDetails.cs
- Section.cs
- SmtpNegotiateAuthenticationModule.cs
- SqlBuilder.cs
- ExpandoObject.cs
- PathSegment.cs
- HtmlControlPersistable.cs
- HtmlHistory.cs
- FrameDimension.cs
- EditCommandColumn.cs
- ComponentCommands.cs
- CustomAttributeBuilder.cs
- UnauthorizedWebPart.cs
- LabelLiteral.cs
- ACL.cs
- Point3DConverter.cs
- SpotLight.cs
- RuleSetCollection.cs
- RuntimeCompatibilityAttribute.cs
- SecurityToken.cs
- ServiceDefaults.cs
- DataGridViewEditingControlShowingEventArgs.cs
- BitmapData.cs
- BaseCodePageEncoding.cs
- GrowingArray.cs
- TransactionScope.cs
- StyleConverter.cs
- SourceLocationProvider.cs
- HttpWebRequest.cs
- ControlUtil.cs
- KeyEventArgs.cs
- ExternalException.cs
- UidManager.cs
- ChannelRequirements.cs
- PrimitiveXmlSerializers.cs
- DescendentsWalkerBase.cs
- CodeAttributeArgument.cs
- DoubleUtil.cs
- VerificationException.cs
- HttpChannelHelper.cs
- SafeFileMappingHandle.cs
- PhysicalFontFamily.cs
- QueryContinueDragEvent.cs
- SimpleHandlerFactory.cs
- XmlSchemaIdentityConstraint.cs
- TableRowGroupCollection.cs
- CompositeDataBoundControl.cs
- HostProtectionPermission.cs
- updatecommandorderer.cs
- LicenseManager.cs
- DetailsViewPagerRow.cs
- ControlCollection.cs
- DebugView.cs
- ReachSerializer.cs
- CompressedStack.cs
- RoutingExtension.cs
- ExceptionUtility.cs
- GPStream.cs
- BoundField.cs
- DefaultObjectSerializer.cs
- FixedFindEngine.cs
- ProgressBar.cs
- SymDocumentType.cs
- X509ChainPolicy.cs
- TextDecorationLocationValidation.cs
- sqlinternaltransaction.cs
- DeflateEmulationStream.cs
- ErrorRuntimeConfig.cs
- XmlChoiceIdentifierAttribute.cs
- ThreadStateException.cs
- TreeNodeStyle.cs
- QueryReaderSettings.cs
- M3DUtil.cs
- GenericEnumerator.cs
- TextHintingModeValidation.cs
- SystemColors.cs
- VoiceInfo.cs