Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GenericUriParser.cs
- ApplicationSecurityManager.cs
- VerificationAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- OleDbErrorCollection.cs
- ListViewGroup.cs
- XMLSchema.cs
- ProcessHostServerConfig.cs
- ListViewContainer.cs
- CustomError.cs
- ClientBuildManagerCallback.cs
- XPathDocumentBuilder.cs
- Page.cs
- ConfigurationPropertyAttribute.cs
- SingleQueryOperator.cs
- SamlConstants.cs
- Validator.cs
- GrammarBuilderBase.cs
- Oid.cs
- EventBuilder.cs
- ListParagraph.cs
- RetriableClipboard.cs
- StylusEditingBehavior.cs
- KerberosReceiverSecurityToken.cs
- ContentDefinition.cs
- DataGridRelationshipRow.cs
- CodeTypeMember.cs
- ShadowGlyph.cs
- URLMembershipCondition.cs
- TransformPatternIdentifiers.cs
- SizeAnimation.cs
- MsmqIntegrationValidationBehavior.cs
- TextSelectionHelper.cs
- DataContractSerializerElement.cs
- ADMembershipUser.cs
- XmlExpressionDumper.cs
- DataGridPageChangedEventArgs.cs
- WriteableBitmap.cs
- GZipStream.cs
- MessagePartDescription.cs
- ListControlBoundActionList.cs
- HostedHttpRequestAsyncResult.cs
- ObjectAssociationEndMapping.cs
- AnimationLayer.cs
- RenderingEventArgs.cs
- DataRecordObjectView.cs
- LifetimeServices.cs
- InputBinder.cs
- DocumentEventArgs.cs
- DbParameterCollectionHelper.cs
- ServiceMetadataBehavior.cs
- DependencyPropertyConverter.cs
- ToolStripControlHost.cs
- keycontainerpermission.cs
- Triplet.cs
- ExpressionBindingCollection.cs
- IsolatedStorageFileStream.cs
- SafeNativeMethods.cs
- EventArgs.cs
- TrustLevel.cs
- TextCollapsingProperties.cs
- Light.cs
- PersonalizationProviderCollection.cs
- PerformanceCountersElement.cs
- EnumerableRowCollectionExtensions.cs
- NonVisualControlAttribute.cs
- PropertyPath.cs
- StylusButton.cs
- WebPartTransformerAttribute.cs
- CompilerGlobalScopeAttribute.cs
- XmlObjectSerializerReadContextComplex.cs
- CollectionConverter.cs
- ColorContext.cs
- StrongTypingException.cs
- InputLanguageEventArgs.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TableCell.cs
- ParamArrayAttribute.cs
- CodePageUtils.cs
- XDRSchema.cs
- ObjectDataSourceView.cs
- ToolStripMenuItem.cs
- ProcessThread.cs
- WaitForChangedResult.cs
- RenderCapability.cs
- CacheOutputQuery.cs
- _BaseOverlappedAsyncResult.cs
- OleDbConnectionFactory.cs
- UiaCoreTypesApi.cs
- CommittableTransaction.cs
- SHA256.cs
- HijriCalendar.cs
- AccessibleObject.cs
- TypeSource.cs
- GifBitmapEncoder.cs
- ConfigXmlSignificantWhitespace.cs
- GlyphTypeface.cs
- StyleSheet.cs
- GeneratedCodeAttribute.cs
- PackageRelationshipCollection.cs