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
- WebChannelFactory.cs
- MDIWindowDialog.cs
- Int32RectConverter.cs
- DeclarationUpdate.cs
- DataGridViewTopRowAccessibleObject.cs
- HttpWriter.cs
- CustomActivityDesigner.cs
- ExtractedStateEntry.cs
- ISFClipboardData.cs
- SqlPersonalizationProvider.cs
- SecurityKeyIdentifier.cs
- MissingSatelliteAssemblyException.cs
- KeyTime.cs
- DatagridviewDisplayedBandsData.cs
- HttpRequestWrapper.cs
- control.ime.cs
- FrameSecurityDescriptor.cs
- PhysicalFontFamily.cs
- PathStreamGeometryContext.cs
- EllipseGeometry.cs
- PeerDefaultCustomResolverClient.cs
- RenderDataDrawingContext.cs
- _ProxyChain.cs
- ITextView.cs
- DateTimeFormatInfo.cs
- TaskFormBase.cs
- TimerElapsedEvenArgs.cs
- TagPrefixAttribute.cs
- SQlBooleanStorage.cs
- TableAdapterManagerGenerator.cs
- EntityDataSourceDesignerHelper.cs
- ScrollChangedEventArgs.cs
- WebConfigurationHost.cs
- CompoundFileStorageReference.cs
- MetadataElement.cs
- LabelTarget.cs
- ScriptingWebServicesSectionGroup.cs
- DropSource.cs
- HashSetDebugView.cs
- HwndSource.cs
- Zone.cs
- HttpCacheVary.cs
- BaseInfoTable.cs
- ResourceType.cs
- RegexRunner.cs
- SmtpException.cs
- TextEffect.cs
- WebPartTransformerAttribute.cs
- JsonFormatMapping.cs
- SubtreeProcessor.cs
- TemplateComponentConnector.cs
- ScrollChrome.cs
- DefaultEventAttribute.cs
- DbProviderFactories.cs
- SafeTimerHandle.cs
- UICuesEvent.cs
- UnsupportedPolicyOptionsException.cs
- DataMemberFieldConverter.cs
- ClientUrlResolverWrapper.cs
- ComPlusAuthorization.cs
- Rect.cs
- GridViewCellAutomationPeer.cs
- XmlQueryRuntime.cs
- FilePresentation.cs
- EditorPart.cs
- XPathAncestorIterator.cs
- CodeCompileUnit.cs
- ChannelAcceptor.cs
- WorkingDirectoryEditor.cs
- TimeZone.cs
- SmiEventStream.cs
- ClientSettingsStore.cs
- sqlpipe.cs
- MarshalByValueComponent.cs
- FromRequest.cs
- EtwTrackingBehavior.cs
- DataReceivedEventArgs.cs
- wgx_commands.cs
- EntryPointNotFoundException.cs
- Style.cs
- VirtualPath.cs
- CodeTypeOfExpression.cs
- PageCache.cs
- DBCommandBuilder.cs
- Image.cs
- DataViewManager.cs
- RegexBoyerMoore.cs
- DataGridViewRowStateChangedEventArgs.cs
- Missing.cs
- ObjectList.cs
- CodeAssignStatement.cs
- MatrixKeyFrameCollection.cs
- ActionFrame.cs
- ApplicationDirectory.cs
- FixedSOMPage.cs
- Pick.cs
- XpsManager.cs
- DesignTimeVisibleAttribute.cs
- CustomLineCap.cs
- Accessible.cs