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
- DataGridViewRowErrorTextNeededEventArgs.cs
- WebControl.cs
- CmsInterop.cs
- BuilderElements.cs
- NTAccount.cs
- CssClassPropertyAttribute.cs
- StrongNameUtility.cs
- AccessDataSourceView.cs
- MonikerBuilder.cs
- EntityEntry.cs
- SqlConnectionPoolGroupProviderInfo.cs
- HostProtectionException.cs
- KnownBoxes.cs
- DataFieldConverter.cs
- HierarchicalDataBoundControlAdapter.cs
- ResponseStream.cs
- TypeForwardedToAttribute.cs
- MemberExpressionHelper.cs
- StrokeNodeEnumerator.cs
- BaseAutoFormat.cs
- AccessibleObject.cs
- UDPClient.cs
- ProfilePropertySettings.cs
- InputBinding.cs
- ReliableChannelListener.cs
- DiscoveryReference.cs
- SystemNetHelpers.cs
- WindowsFormsSectionHandler.cs
- RegistryPermission.cs
- EventLogPermissionAttribute.cs
- BufferBuilder.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- Parser.cs
- ConvertTextFrag.cs
- FocusChangedEventArgs.cs
- GeneralTransform2DTo3D.cs
- CheckableControlBaseAdapter.cs
- SspiSafeHandles.cs
- Message.cs
- Geometry.cs
- DataGridViewBand.cs
- EntryIndex.cs
- AppSettingsExpressionEditor.cs
- EntityDesignerDataSourceView.cs
- Grid.cs
- ObjectMaterializedEventArgs.cs
- WriteStateInfoBase.cs
- PageCatalogPart.cs
- WindowsListView.cs
- CredentialCache.cs
- MulticastOption.cs
- HtmlHistory.cs
- ExtensionQuery.cs
- DataSourceXmlAttributeAttribute.cs
- DetailsView.cs
- LedgerEntryCollection.cs
- WsdlInspector.cs
- DesignerView.Commands.cs
- UIElementParagraph.cs
- SvcMapFile.cs
- PropertyMapper.cs
- Select.cs
- SqlBulkCopyColumnMapping.cs
- ActivityCollectionMarkupSerializer.cs
- MissingMemberException.cs
- DataRelation.cs
- RequestedSignatureDialog.cs
- ConfigurationStrings.cs
- Config.cs
- Clause.cs
- LineSegment.cs
- TextServicesContext.cs
- TableRow.cs
- HtmlInputImage.cs
- FtpWebRequest.cs
- XpsS0ValidatingLoader.cs
- ExternalFile.cs
- RelationshipFixer.cs
- FixedTextContainer.cs
- GridSplitterAutomationPeer.cs
- SelectorAutomationPeer.cs
- Transform.cs
- DocumentXmlWriter.cs
- SingleObjectCollection.cs
- TextTreeTextBlock.cs
- SqlDataSourceCommandEventArgs.cs
- GrammarBuilderWildcard.cs
- KeySpline.cs
- Compensate.cs
- SortDescription.cs
- CounterSampleCalculator.cs
- DbUpdateCommandTree.cs
- TemplateAction.cs
- Component.cs
- NamespaceList.cs
- CodeGenHelper.cs
- SatelliteContractVersionAttribute.cs
- CodeExporter.cs
- UIServiceHelper.cs
- EditorBrowsableAttribute.cs