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
- ColumnCollection.cs
- InternalDuplexChannelFactory.cs
- NumberFunctions.cs
- ColorInterpolationModeValidation.cs
- StagingAreaInputItem.cs
- ControlAdapter.cs
- PaintEvent.cs
- FontUnitConverter.cs
- DataPagerFieldCommandEventArgs.cs
- String.cs
- ParallelSeparator.xaml.cs
- BoundField.cs
- DirtyTextRange.cs
- StyleXamlParser.cs
- WebBrowserPermission.cs
- OpenTypeLayout.cs
- PriorityRange.cs
- TextHidden.cs
- BaseServiceProvider.cs
- CodeDOMProvider.cs
- ThicknessKeyFrameCollection.cs
- DependencyPropertyValueSerializer.cs
- DataKeyCollection.cs
- PropertyStore.cs
- Int32RectValueSerializer.cs
- BamlRecordReader.cs
- Array.cs
- WorkflowTimerService.cs
- OleDbCommand.cs
- DecodeHelper.cs
- FormsAuthentication.cs
- DependencyObject.cs
- PointLight.cs
- XmlSchemaExternal.cs
- MetadataArtifactLoader.cs
- RowType.cs
- PrintDialog.cs
- ConstantExpression.cs
- PageTheme.cs
- Bind.cs
- RemoteHelper.cs
- ApplicationManager.cs
- ConstructorNeedsTagAttribute.cs
- DispatcherExceptionFilterEventArgs.cs
- DbConvert.cs
- UTF8Encoding.cs
- GridToolTip.cs
- ExecutionTracker.cs
- SecurityKeyUsage.cs
- FilterRepeater.cs
- ManipulationLogic.cs
- SemanticAnalyzer.cs
- CodeTypeConstructor.cs
- OdbcParameterCollection.cs
- PageCatalogPart.cs
- BulletChrome.cs
- InlineCollection.cs
- SecondaryIndexList.cs
- UnmanagedHandle.cs
- LogPolicy.cs
- ActivityExecutorOperation.cs
- Page.cs
- StateRuntime.cs
- Soap.cs
- Pkcs9Attribute.cs
- CmsInterop.cs
- IntPtr.cs
- __TransparentProxy.cs
- BoundPropertyEntry.cs
- InputLanguageSource.cs
- RIPEMD160Managed.cs
- PrimaryKeyTypeConverter.cs
- XPathSingletonIterator.cs
- ArithmeticException.cs
- Span.cs
- dsa.cs
- IISUnsafeMethods.cs
- GeometryCollection.cs
- FactorySettingsElement.cs
- ClientBuildManagerCallback.cs
- TextRangeSerialization.cs
- TextEndOfParagraph.cs
- ActivityExecutionContext.cs
- TypedReference.cs
- XmlParser.cs
- XmlTextReaderImpl.cs
- QueryConverter.cs
- TextDecorations.cs
- SystemException.cs
- BinaryExpression.cs
- AbsoluteQuery.cs
- ErrorEventArgs.cs
- RightsManagementEncryptionTransform.cs
- IssuanceLicense.cs
- JsonReaderWriterFactory.cs
- ResourceDictionary.cs
- SqlClientWrapperSmiStreamChars.cs
- TableLayoutSettingsTypeConverter.cs
- columnmapfactory.cs
- Rfc2898DeriveBytes.cs