Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IndexOutOfRangeException.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CopyCodeAction.cs
- XPathException.cs
- ScriptingWebServicesSectionGroup.cs
- SweepDirectionValidation.cs
- RuleSetCollection.cs
- FrameworkContentElement.cs
- login.cs
- UnauthorizedWebPart.cs
- DataTemplate.cs
- ReadWriteSpinLock.cs
- Environment.cs
- MasterPageParser.cs
- PropertyStore.cs
- PropertyFilter.cs
- MultipleViewPattern.cs
- SchemaElement.cs
- DiscoveryOperationContext.cs
- WindowsToolbar.cs
- ToolStripStatusLabel.cs
- SqlXmlStorage.cs
- CursorConverter.cs
- BitVector32.cs
- AssemblyBuilderData.cs
- SchemaSetCompiler.cs
- ShapingWorkspace.cs
- MessageSecurityVersionConverter.cs
- DataMisalignedException.cs
- PerformanceCounterPermission.cs
- Graph.cs
- NamedServiceModelExtensionCollectionElement.cs
- MembershipValidatePasswordEventArgs.cs
- RouteParser.cs
- SchemaReference.cs
- OverrideMode.cs
- TextSpan.cs
- Tracking.cs
- UnsafeNativeMethods.cs
- RectConverter.cs
- MobileUserControl.cs
- DynamicResourceExtensionConverter.cs
- StringValueSerializer.cs
- OSFeature.cs
- FileFormatException.cs
- VirtualizedItemPattern.cs
- SemaphoreSecurity.cs
- PropertyPathConverter.cs
- TraceUtility.cs
- IODescriptionAttribute.cs
- ComplexLine.cs
- TextEndOfSegment.cs
- ChangeTracker.cs
- DerivedKeySecurityToken.cs
- DoubleLinkList.cs
- SqlCommandSet.cs
- ConfigurationPermission.cs
- SyncOperationState.cs
- IncomingWebRequestContext.cs
- RegisteredHiddenField.cs
- WSSecurityXXX2005.cs
- ContextCorrelationInitializer.cs
- MetadataProperty.cs
- PeerTransportSecuritySettings.cs
- IpcClientChannel.cs
- D3DImage.cs
- SafeMarshalContext.cs
- TextHidden.cs
- MsmqProcessProtocolHandler.cs
- AnnotationService.cs
- StyleXamlTreeBuilder.cs
- EntityContainerEntitySet.cs
- ConfigurationValue.cs
- XmlAttributeCache.cs
- Vector3DCollection.cs
- KeyConstraint.cs
- RSACryptoServiceProvider.cs
- WebPartMenu.cs
- RecipientInfo.cs
- XamlValidatingReader.cs
- MaterialCollection.cs
- SourceInterpreter.cs
- ConfigXmlWhitespace.cs
- AppDomainManager.cs
- QualifiedCellIdBoolean.cs
- ProcessingInstructionAction.cs
- coordinatorfactory.cs
- ToolBar.cs
- XmlSerializationReader.cs
- DataColumnCollection.cs
- DropSource.cs
- OfTypeExpression.cs
- HMAC.cs
- SchemaLookupTable.cs
- HtmlAnchor.cs
- EventLogWatcher.cs
- XmlObjectSerializerWriteContext.cs
- VerificationAttribute.cs
- DrawingDrawingContext.cs
- HtmlTitle.cs
- WebPartDisplayMode.cs
- MarshalByRefObject.cs