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
- BindingGraph.cs
- AspNetRouteServiceHttpHandler.cs
- ExpressionPrefixAttribute.cs
- DataGridCheckBoxColumn.cs
- WebBrowserBase.cs
- UIntPtr.cs
- ReturnType.cs
- ChooseAction.cs
- Environment.cs
- SchemaNotation.cs
- MainMenu.cs
- DbProviderFactoriesConfigurationHandler.cs
- SamlDelegatingWriter.cs
- BindingNavigatorDesigner.cs
- CollectionType.cs
- ObjectDataSourceStatusEventArgs.cs
- RemotingHelper.cs
- HttpRawResponse.cs
- ContentHostHelper.cs
- StubHelpers.cs
- UncommonField.cs
- NamespaceQuery.cs
- MemberInfoSerializationHolder.cs
- path.cs
- ToolboxComponentsCreatedEventArgs.cs
- ExceptionUtil.cs
- PrimaryKeyTypeConverter.cs
- HtmlInputControl.cs
- IPPacketInformation.cs
- VirtualPathProvider.cs
- PerformanceCountersElement.cs
- DataGridHeaderBorder.cs
- SecurityElement.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- CategoryEditor.cs
- ColumnReorderedEventArgs.cs
- OperationResponse.cs
- DependencyObjectPropertyDescriptor.cs
- PageThemeBuildProvider.cs
- XmlDataSourceNodeDescriptor.cs
- SiteMapNodeItemEventArgs.cs
- _ContextAwareResult.cs
- VirtualPathUtility.cs
- CalendarDateRange.cs
- MetadataItemSerializer.cs
- PrePostDescendentsWalker.cs
- HtmlTableRow.cs
- RowUpdatingEventArgs.cs
- BinaryObjectReader.cs
- MultiDataTrigger.cs
- WebBrowserSiteBase.cs
- DecoderExceptionFallback.cs
- SignedXml.cs
- OutputCacheSettings.cs
- PackUriHelper.cs
- BitmapEffectDrawing.cs
- XPathDocumentNavigator.cs
- DataGridViewCellStateChangedEventArgs.cs
- DataStreamFromComStream.cs
- PersonalizableTypeEntry.cs
- SoapReflectionImporter.cs
- DateTimeSerializationSection.cs
- LocalValueEnumerator.cs
- XmlSchemaObjectTable.cs
- TextParagraph.cs
- GlyphElement.cs
- RegisteredArrayDeclaration.cs
- ModelTreeEnumerator.cs
- WebEncodingValidatorAttribute.cs
- CheckBoxList.cs
- WebPartDeleteVerb.cs
- PathFigureCollection.cs
- SignatureGenerator.cs
- SafeEventLogWriteHandle.cs
- SplayTreeNode.cs
- ResourceReader.cs
- ProfileEventArgs.cs
- DbRetry.cs
- CodeConstructor.cs
- TextContainerHelper.cs
- IPAddressCollection.cs
- SetterBase.cs
- CompilationUtil.cs
- DataGridViewCellValueEventArgs.cs
- NetNamedPipeBinding.cs
- GenericsInstances.cs
- ResourcePermissionBaseEntry.cs
- ListViewCommandEventArgs.cs
- MD5.cs
- TogglePattern.cs
- XPathMultyIterator.cs
- FuncCompletionCallbackWrapper.cs
- Track.cs
- _AcceptOverlappedAsyncResult.cs
- AuthenticationServiceManager.cs
- DataGridViewRowsAddedEventArgs.cs
- CancellationToken.cs
- SimpleType.cs
- WebServiceEnumData.cs
- ApplicationId.cs