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
- _LocalDataStore.cs
- CreateUserErrorEventArgs.cs
- BevelBitmapEffect.cs
- ThreadSafeList.cs
- Types.cs
- ExpressionBindingCollection.cs
- ImageClickEventArgs.cs
- SerializationSectionGroup.cs
- Random.cs
- ArgumentsParser.cs
- SymbolMethod.cs
- DataGridSortCommandEventArgs.cs
- BooleanExpr.cs
- IsolatedStorageFileStream.cs
- PersonalizationAdministration.cs
- HttpCacheVary.cs
- Matrix.cs
- NativeRightsManagementAPIsStructures.cs
- RequestContextBase.cs
- DeclarativeConditionsCollection.cs
- DataList.cs
- BindToObject.cs
- SoundPlayerAction.cs
- Int16AnimationUsingKeyFrames.cs
- ProfileSettings.cs
- DetailsViewPagerRow.cs
- DrawingImage.cs
- GenericsInstances.cs
- RequestBringIntoViewEventArgs.cs
- HGlobalSafeHandle.cs
- StreamedWorkflowDefinitionContext.cs
- Utils.cs
- InternalMappingException.cs
- DataTrigger.cs
- AnnouncementEndpointElement.cs
- ValidatedMobileControlConverter.cs
- InstanceDescriptor.cs
- ClientOptions.cs
- SafePointer.cs
- Propagator.JoinPropagator.cs
- RoleGroup.cs
- Image.cs
- PtsCache.cs
- PropertyOverridesTypeEditor.cs
- StyleSheet.cs
- SiteMapNode.cs
- ComponentFactoryHelpers.cs
- Activator.cs
- VerificationAttribute.cs
- WindowsUpDown.cs
- UIElement3DAutomationPeer.cs
- ControlBuilder.cs
- WaitForChangedResult.cs
- Ray3DHitTestResult.cs
- Wildcard.cs
- OutputCacheProfile.cs
- ItemType.cs
- CdpEqualityComparer.cs
- StylusLogic.cs
- WebPartConnectionsDisconnectVerb.cs
- Message.cs
- LinkClickEvent.cs
- DefaultSection.cs
- NavigationFailedEventArgs.cs
- BaseTemplateCodeDomTreeGenerator.cs
- CopyAction.cs
- EdmComplexPropertyAttribute.cs
- AssemblyBuilder.cs
- FormatConvertedBitmap.cs
- UITypeEditors.cs
- StreamInfo.cs
- Int32Storage.cs
- CompModSwitches.cs
- HttpResponse.cs
- AsyncOperation.cs
- SystemResourceHost.cs
- ScrollProperties.cs
- securitycriticaldata.cs
- HostingEnvironmentSection.cs
- TreeNodeStyle.cs
- NetworkInformationException.cs
- ToolBarPanel.cs
- CompilationLock.cs
- RepeaterItemCollection.cs
- Timer.cs
- WebPartConnectionsDisconnectVerb.cs
- COSERVERINFO.cs
- QilFactory.cs
- HttpProfileBase.cs
- RequestQueue.cs
- XsdCachingReader.cs
- WebPartEditorCancelVerb.cs
- MsiStyleLogWriter.cs
- VisualStyleElement.cs
- SQlBooleanStorage.cs
- ErrorHandler.cs
- ComponentEvent.cs
- TimelineCollection.cs
- VectorValueSerializer.cs
- TagPrefixAttribute.cs