Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // 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
- tibetanshape.cs
- ChooseAction.cs
- DeploymentExceptionMapper.cs
- OrthographicCamera.cs
- Column.cs
- ResourceReferenceKeyNotFoundException.cs
- ElapsedEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- ColorBlend.cs
- SemanticBasicElement.cs
- PerspectiveCamera.cs
- AuthenticationManager.cs
- CategoryAttribute.cs
- SharedUtils.cs
- ObjectDataSource.cs
- TextSelectionHighlightLayer.cs
- OrderedParallelQuery.cs
- InfoCardCryptoHelper.cs
- SecurityTokenReferenceStyle.cs
- COM2PictureConverter.cs
- GetCryptoTransformRequest.cs
- PreProcessor.cs
- GridViewRowEventArgs.cs
- DataListItem.cs
- EntityCommandExecutionException.cs
- Pen.cs
- CustomErrorsSection.cs
- DataBindingsDialog.cs
- Buffer.cs
- SymLanguageType.cs
- SecurityTokenTypes.cs
- TemplatePropertyEntry.cs
- AlphaSortedEnumConverter.cs
- ConnectionAcceptor.cs
- M3DUtil.cs
- ServiceChannelManager.cs
- MemberHolder.cs
- CompilerState.cs
- NavigationWindow.cs
- TranslateTransform.cs
- EventLogPermissionEntry.cs
- DataServiceConfiguration.cs
- SafeRegistryHandle.cs
- PageThemeCodeDomTreeGenerator.cs
- Page.cs
- DataSpaceManager.cs
- WebServiceClientProxyGenerator.cs
- TransformConverter.cs
- ObjectPropertyMapping.cs
- StaticResourceExtension.cs
- QilXmlWriter.cs
- PartialArray.cs
- EventPrivateKey.cs
- DebugHandleTracker.cs
- CombinedGeometry.cs
- TransactionChannelFactory.cs
- LOSFormatter.cs
- PerfCounters.cs
- LineSegment.cs
- HtmlForm.cs
- WebServiceEnumData.cs
- SqlFlattener.cs
- SmtpLoginAuthenticationModule.cs
- TextTreeUndoUnit.cs
- FormsAuthenticationUser.cs
- mil_commands.cs
- ButtonField.cs
- MethodToken.cs
- IRCollection.cs
- WebPartEditorOkVerb.cs
- UserControlDocumentDesigner.cs
- ISFClipboardData.cs
- ObjectQueryState.cs
- xmlfixedPageInfo.cs
- InvalidStoreProtectionKeyException.cs
- UIElementParaClient.cs
- OdbcCommandBuilder.cs
- SqlRemoveConstantOrderBy.cs
- SelectionUIHandler.cs
- EventRoute.cs
- UpdateProgress.cs
- PositiveTimeSpanValidatorAttribute.cs
- TypeConstant.cs
- FileRecordSequenceHelper.cs
- EventlogProvider.cs
- CustomExpressionEventArgs.cs
- TextContainer.cs
- RpcCryptoRequest.cs
- AnimationLayer.cs
- ConstraintManager.cs
- DependencyPropertyChangedEventArgs.cs
- DataGridViewIntLinkedList.cs
- TagMapCollection.cs
- ZipIOCentralDirectoryFileHeader.cs
- SafeViewOfFileHandle.cs
- ToolBarButton.cs
- HintTextConverter.cs
- CacheDependency.cs
- CellParaClient.cs
- OLEDB_Enum.cs