Code:
/ 4.0 / 4.0 / 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. // ==++== // // 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
- DbParameterHelper.cs
- XsltArgumentList.cs
- StorageBasedPackageProperties.cs
- DocumentPageView.cs
- CodePageUtils.cs
- MatrixKeyFrameCollection.cs
- DataSourceXmlSubItemAttribute.cs
- DataColumnMapping.cs
- SplineQuaternionKeyFrame.cs
- ExceptionUtility.cs
- StyleSheetComponentEditor.cs
- DataSourceGroupCollection.cs
- FixedElement.cs
- XmlBinaryReader.cs
- DocumentPropertiesDialog.cs
- StyleModeStack.cs
- ExtendedTransformFactory.cs
- AnonymousIdentificationModule.cs
- BigInt.cs
- DataGridViewDataErrorEventArgs.cs
- Hex.cs
- IisTraceListener.cs
- XmlWellformedWriter.cs
- CleanUpVirtualizedItemEventArgs.cs
- WorkflowViewStateService.cs
- autovalidator.cs
- ServiceHttpModule.cs
- StyleBamlRecordReader.cs
- DataRelation.cs
- SplitterEvent.cs
- TakeOrSkipWhileQueryOperator.cs
- NumericUpDownAccelerationCollection.cs
- StatusBar.cs
- SimpleTypesSurrogate.cs
- DocumentOutline.cs
- PeerInvitationResponse.cs
- TransactionManager.cs
- SimpleFieldTemplateFactory.cs
- RegexNode.cs
- Int32AnimationUsingKeyFrames.cs
- ISAPIWorkerRequest.cs
- Helper.cs
- IntPtr.cs
- PrinterResolution.cs
- SymLanguageVendor.cs
- XpsSerializationException.cs
- XslCompiledTransform.cs
- ExceptionValidationRule.cs
- Win32PrintDialog.cs
- BinaryFormatterWriter.cs
- DialogResultConverter.cs
- XPathNodeHelper.cs
- Function.cs
- XmlSchemaNotation.cs
- HtmlWindowCollection.cs
- util.cs
- CalendarButtonAutomationPeer.cs
- StringSorter.cs
- AdCreatedEventArgs.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- CategoryValueConverter.cs
- Helpers.cs
- TaskCanceledException.cs
- AutomationTextAttribute.cs
- BuildDependencySet.cs
- HelpEvent.cs
- FlowDocument.cs
- ScriptResourceHandler.cs
- StateManagedCollection.cs
- AssemblyInfo.cs
- CompoundFileStorageReference.cs
- X509Certificate2Collection.cs
- IndexedString.cs
- TransformedBitmap.cs
- EntityDataSourceWizardForm.cs
- updateconfighost.cs
- RegexCompiler.cs
- XmlAttributeOverrides.cs
- PropertyFilterAttribute.cs
- OleCmdHelper.cs
- AbstractExpressions.cs
- Pair.cs
- MetadataItemCollectionFactory.cs
- DependencyObject.cs
- BufferedResponseStream.cs
- WorkflowWebService.cs
- SelectionRange.cs
- DriveNotFoundException.cs
- PageAsyncTask.cs
- XmlDataLoader.cs
- WebPart.cs
- RuntimeCompatibilityAttribute.cs
- MenuEventArgs.cs
- NativeCppClassAttribute.cs
- MetaModel.cs
- DataServiceHost.cs
- AxParameterData.cs
- CacheRequest.cs
- ListSortDescription.cs
- DataTablePropertyDescriptor.cs