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
- GraphicsState.cs
- MailMessageEventArgs.cs
- TextureBrush.cs
- XpsDigitalSignature.cs
- PersonalizationStateInfo.cs
- TextUtf8RawTextWriter.cs
- MULTI_QI.cs
- QueryCursorEventArgs.cs
- SqlCacheDependency.cs
- MonikerUtility.cs
- DataRelationPropertyDescriptor.cs
- MetadataUtil.cs
- IndexOutOfRangeException.cs
- HttpRequest.cs
- DesignerProperties.cs
- AssemblyNameProxy.cs
- CaseCqlBlock.cs
- CategoryList.cs
- SqlStatistics.cs
- SafeCertificateStore.cs
- DateTimeValueSerializerContext.cs
- RsaSecurityToken.cs
- ParallelTimeline.cs
- SystemPens.cs
- FigureParaClient.cs
- TreeNodeConverter.cs
- PropertyItemInternal.cs
- TextElementEnumerator.cs
- DataViewManager.cs
- SymbolTable.cs
- PhonemeEventArgs.cs
- CustomTypeDescriptor.cs
- BaseTreeIterator.cs
- invalidudtexception.cs
- DataGridViewTopLeftHeaderCell.cs
- SQLRoleProvider.cs
- StorageMappingItemCollection.cs
- WindowsTab.cs
- TimeIntervalCollection.cs
- PanelStyle.cs
- Scripts.cs
- ObjectDataSourceFilteringEventArgs.cs
- StrokeNodeData.cs
- ElementInit.cs
- ClientUriBehavior.cs
- WebPartMovingEventArgs.cs
- DesignerCalendarAdapter.cs
- TraceEventCache.cs
- PeerName.cs
- HtmlImage.cs
- CompModSwitches.cs
- ItemList.cs
- LayoutUtils.cs
- ISessionStateStore.cs
- JapaneseCalendar.cs
- GACMembershipCondition.cs
- Container.cs
- WebPartZone.cs
- ConnectionOrientedTransportBindingElement.cs
- Identifier.cs
- FlowNode.cs
- DataListItemCollection.cs
- CategoryNameCollection.cs
- BindingGraph.cs
- JapaneseLunisolarCalendar.cs
- SystemDropShadowChrome.cs
- NullRuntimeConfig.cs
- DelegatingTypeDescriptionProvider.cs
- ToolStripItemRenderEventArgs.cs
- SqlException.cs
- XmlElementAttribute.cs
- DefaultPropertyAttribute.cs
- ProfileSettingsCollection.cs
- BaseUriHelper.cs
- PatternMatcher.cs
- ManagementObjectSearcher.cs
- LocalizabilityAttribute.cs
- StorageFunctionMapping.cs
- BamlLocalizationDictionary.cs
- NumericExpr.cs
- XmlName.cs
- IRCollection.cs
- SelectedCellsChangedEventArgs.cs
- JoinTreeSlot.cs
- NativeCppClassAttribute.cs
- SecurityException.cs
- DataGridViewCell.cs
- MenuItemBindingCollection.cs
- SmiConnection.cs
- IPipelineRuntime.cs
- Queue.cs
- StructuralType.cs
- ListViewItem.cs
- DbConnectionStringCommon.cs
- JpegBitmapEncoder.cs
- GenericRootAutomationPeer.cs
- CriticalHandle.cs
- TextSchema.cs
- CustomAttributeFormatException.cs
- TableItemStyle.cs