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
- FacetChecker.cs
- ExportOptions.cs
- PropagationProtocolsTracing.cs
- SimpleWorkerRequest.cs
- ContractReference.cs
- QuaternionIndependentAnimationStorage.cs
- ServiceEndpointCollection.cs
- ListBox.cs
- StringConverter.cs
- wgx_sdk_version.cs
- SettingsSavedEventArgs.cs
- RequestQueryProcessor.cs
- TypedAsyncResult.cs
- MimeMapping.cs
- TextPointerBase.cs
- Triplet.cs
- DateTimeFormatInfo.cs
- XmlReaderSettings.cs
- HttpProfileBase.cs
- securitycriticaldataClass.cs
- BuilderPropertyEntry.cs
- StorageAssociationSetMapping.cs
- WebRequestModuleElementCollection.cs
- EntityConnection.cs
- DrawingCollection.cs
- FormsAuthenticationUserCollection.cs
- Exception.cs
- ClipboardData.cs
- RadioButtonFlatAdapter.cs
- DrawingBrush.cs
- ModelUIElement3D.cs
- RenderDataDrawingContext.cs
- OdbcConnectionFactory.cs
- WeakReadOnlyCollection.cs
- Simplifier.cs
- WrappedReader.cs
- TextTreeUndoUnit.cs
- ConnectionStringsExpressionBuilder.cs
- SizeLimitedCache.cs
- ConvertEvent.cs
- AttachedPropertyMethodSelector.cs
- AutomationEvent.cs
- XpsInterleavingPolicy.cs
- AssemblyLoader.cs
- UInt16Storage.cs
- DataServiceHost.cs
- HttpListenerPrefixCollection.cs
- contentDescriptor.cs
- SchemaImporterExtensionsSection.cs
- PropertyCondition.cs
- PaintValueEventArgs.cs
- WindowsScroll.cs
- KeyedQueue.cs
- Rotation3DAnimationUsingKeyFrames.cs
- VectorCollection.cs
- PointValueSerializer.cs
- TypeToStringValueConverter.cs
- GenericPrincipal.cs
- PropertyValueChangedEvent.cs
- DomNameTable.cs
- DataListComponentEditor.cs
- PointKeyFrameCollection.cs
- HashCryptoHandle.cs
- GridViewAutoFormat.cs
- EndEvent.cs
- XmlName.cs
- BitmapSizeOptions.cs
- TypeBuilder.cs
- COAUTHIDENTITY.cs
- TemplateParser.cs
- dataprotectionpermission.cs
- _TLSstream.cs
- DataGridViewCellStyleConverter.cs
- AffineTransform3D.cs
- CompoundFileIOPermission.cs
- FixedSOMLineCollection.cs
- UniqueConstraint.cs
- ADMembershipUser.cs
- EdmError.cs
- DPCustomTypeDescriptor.cs
- XPathCompiler.cs
- Random.cs
- QuaternionAnimationBase.cs
- ExpandedProjectionNode.cs
- LinqDataSourceContextData.cs
- XmlSchemaObjectCollection.cs
- DesigntimeLicenseContext.cs
- ReadContentAsBinaryHelper.cs
- SpeechRecognitionEngine.cs
- ParseHttpDate.cs
- SqlDataSourceFilteringEventArgs.cs
- Keywords.cs
- DefaultTextStoreTextComposition.cs
- ContractListAdapter.cs
- MbpInfo.cs
- VisualTreeUtils.cs
- TreeNodeCollection.cs
- BinaryQueryOperator.cs
- XmlLoader.cs
- TrustManagerMoreInformation.cs