Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SR.cs
- ThreadStaticAttribute.cs
- ZoneMembershipCondition.cs
- ConfigurationManager.cs
- CompiledAction.cs
- diagnosticsswitches.cs
- milrender.cs
- SchemaMapping.cs
- ExceptionHandler.cs
- SQLDecimalStorage.cs
- MouseGestureValueSerializer.cs
- TagMapInfo.cs
- StylusCaptureWithinProperty.cs
- ReaderOutput.cs
- DeclaredTypeValidator.cs
- TransformCollection.cs
- UIElement.cs
- MethodBody.cs
- WriteStateInfoBase.cs
- QilInvokeLateBound.cs
- UniqueIdentifierService.cs
- XhtmlBasicPanelAdapter.cs
- DataTableTypeConverter.cs
- Grammar.cs
- dataprotectionpermissionattribute.cs
- SamlConstants.cs
- DataViewManager.cs
- GridViewColumnHeader.cs
- XPathQilFactory.cs
- SBCSCodePageEncoding.cs
- FieldToken.cs
- ParameterSubsegment.cs
- DesignerActionVerbItem.cs
- DbSetClause.cs
- MsmqHostedTransportConfiguration.cs
- AssemblyAssociatedContentFileAttribute.cs
- CompiledQuery.cs
- regiisutil.cs
- VisualTreeFlattener.cs
- ExtentCqlBlock.cs
- ControlType.cs
- GeneralTransform3D.cs
- DbParameterCollectionHelper.cs
- EntityKeyElement.cs
- XamlBrushSerializer.cs
- TcpServerChannel.cs
- BuilderInfo.cs
- HtmlUtf8RawTextWriter.cs
- CodeCommentStatement.cs
- TimelineGroup.cs
- XmlNamespaceMapping.cs
- DataBinder.cs
- SafeFindHandle.cs
- OletxVolatileEnlistment.cs
- SizeIndependentAnimationStorage.cs
- BitmapData.cs
- httpapplicationstate.cs
- HttpPostedFile.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- UTF7Encoding.cs
- GlyphRunDrawing.cs
- QueryCacheKey.cs
- Regex.cs
- D3DImage.cs
- ExecutionPropertyManager.cs
- PeerCredentialElement.cs
- LabelAutomationPeer.cs
- SqlDependency.cs
- URLAttribute.cs
- FieldNameLookup.cs
- DataGridViewControlCollection.cs
- ProcessHostConfigUtils.cs
- BufferedStream2.cs
- CalendarDesigner.cs
- ImageBrush.cs
- Size.cs
- PathData.cs
- AuthenticateEventArgs.cs
- ConfigUtil.cs
- UnitySerializationHolder.cs
- Object.cs
- DataPagerFieldCollection.cs
- httpstaticobjectscollection.cs
- WebAdminConfigurationHelper.cs
- AnnotationResourceCollection.cs
- SerializationTrace.cs
- EntitySqlQueryState.cs
- BitmapEffect.cs
- MailWebEventProvider.cs
- DataServiceRequestOfT.cs
- BamlRecordWriter.cs
- CommandEventArgs.cs
- CompareValidator.cs
- wgx_commands.cs
- EditorBrowsableAttribute.cs
- SqlParameterizer.cs
- EastAsianLunisolarCalendar.cs
- mda.cs
- MessageQueueInstaller.cs
- PathGeometry.cs