Code:
/ FX-1434 / FX-1434 / 1.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
- BitSet.cs
- HtmlInputSubmit.cs
- QualifiedCellIdBoolean.cs
- RuntimeCompatibilityAttribute.cs
- GridItemProviderWrapper.cs
- ObjectDataSourceView.cs
- GridItem.cs
- AsyncCompletedEventArgs.cs
- OracleRowUpdatingEventArgs.cs
- CharacterBufferReference.cs
- FlowSwitch.cs
- SID.cs
- DeploymentSection.cs
- FormsIdentity.cs
- XmlAttributeCache.cs
- _SSPISessionCache.cs
- ResourceManagerWrapper.cs
- AlphaSortedEnumConverter.cs
- TraceUtils.cs
- LineServicesRun.cs
- NativeMethods.cs
- SqlConnectionHelper.cs
- MemoryStream.cs
- ApplyHostConfigurationBehavior.cs
- TimeSpanConverter.cs
- RequestTimeoutManager.cs
- MediaElementAutomationPeer.cs
- TrustLevel.cs
- RuleSetReference.cs
- CapabilitiesSection.cs
- PersonalizationState.cs
- ObjectDataSourceStatusEventArgs.cs
- XmlObjectSerializerReadContext.cs
- SerializationInfoEnumerator.cs
- ZipIOExtraFieldPaddingElement.cs
- SQLDouble.cs
- AttachedAnnotationChangedEventArgs.cs
- AutomationIdentifierGuids.cs
- MethodRental.cs
- StoreAnnotationsMap.cs
- AccessedThroughPropertyAttribute.cs
- XmlArrayAttribute.cs
- WebPartCollection.cs
- CollectionContainer.cs
- _BaseOverlappedAsyncResult.cs
- ListBindingHelper.cs
- TextContainerHelper.cs
- XmlNamedNodeMap.cs
- TypedDataSetSchemaImporterExtension.cs
- TypeBuilderInstantiation.cs
- DescendantBaseQuery.cs
- EncoderNLS.cs
- NewExpression.cs
- HttpApplicationFactory.cs
- EventSourceCreationData.cs
- WebBrowsableAttribute.cs
- AssemblyInfo.cs
- Configuration.cs
- XmlILOptimizerVisitor.cs
- EventManager.cs
- GlyphingCache.cs
- Color.cs
- ActivityContext.cs
- DataServiceOperationContext.cs
- Point3DCollection.cs
- TrackingExtract.cs
- WindowsFormsHostPropertyMap.cs
- EnglishPluralizationService.cs
- ObjectItemAssemblyLoader.cs
- PathData.cs
- MarkupExtensionParser.cs
- ColumnReorderedEventArgs.cs
- IdentitySection.cs
- FileRecordSequenceHelper.cs
- DynamicDataRouteHandler.cs
- RepeaterItemEventArgs.cs
- CookielessHelper.cs
- GraphicsContext.cs
- WindowsListView.cs
- TimelineGroup.cs
- OneOfScalarConst.cs
- Hash.cs
- ConfigurationLoaderException.cs
- IconBitmapDecoder.cs
- UnmanagedBitmapWrapper.cs
- DigestComparer.cs
- ConstantExpression.cs
- IsolatedStoragePermission.cs
- InertiaTranslationBehavior.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DoubleStorage.cs
- HtmlEmptyTagControlBuilder.cs
- RegexNode.cs
- DelegatingHeader.cs
- SequenceRange.cs
- TextRange.cs
- DbConnectionStringCommon.cs
- SelectionItemProviderWrapper.cs
- SafeViewOfFileHandle.cs
- Formatter.cs