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
- ManagedFilter.cs
- TextRangeProviderWrapper.cs
- CellNormalizer.cs
- XmlSchemaCollection.cs
- UdpDiscoveryEndpoint.cs
- NegatedCellConstant.cs
- RequestCachePolicyConverter.cs
- SecurityUtils.cs
- FeatureAttribute.cs
- StringConcat.cs
- DataPagerFieldItem.cs
- TextReturnReader.cs
- CodeAssignStatement.cs
- TextEditorThreadLocalStore.cs
- ProfileServiceManager.cs
- EnumValAlphaComparer.cs
- LoginCancelEventArgs.cs
- Automation.cs
- RemoteWebConfigurationHostStream.cs
- TemplateControlBuildProvider.cs
- Number.cs
- TextRunCacheImp.cs
- WorkflowClientDeliverMessageWrapper.cs
- PrintPreviewDialog.cs
- CqlBlock.cs
- EditorReuseAttribute.cs
- webeventbuffer.cs
- NameTable.cs
- SafeNativeMethodsOther.cs
- ListViewContainer.cs
- MergePropertyDescriptor.cs
- TreeView.cs
- mil_sdk_version.cs
- DebugManager.cs
- GlobalEventManager.cs
- SqlBulkCopyColumnMappingCollection.cs
- PreservationFileReader.cs
- DesignTimeVisibleAttribute.cs
- TemplateKeyConverter.cs
- SQLConvert.cs
- OperatingSystem.cs
- CookieParameter.cs
- DataGridViewSelectedCellCollection.cs
- ToolStripDropDownClosingEventArgs.cs
- ByteStorage.cs
- ConstraintStruct.cs
- Size.cs
- DataProtection.cs
- XPathBuilder.cs
- SamlAuthorizationDecisionClaimResource.cs
- TemplateBindingExpressionConverter.cs
- TreeNodeEventArgs.cs
- DataGridViewImageColumn.cs
- GPRECTF.cs
- QueryReaderSettings.cs
- PhonemeEventArgs.cs
- RandomNumberGenerator.cs
- EllipseGeometry.cs
- PointCollection.cs
- EmissiveMaterial.cs
- ViewBox.cs
- sqlstateclientmanager.cs
- WebRequestModuleElementCollection.cs
- httpserverutility.cs
- AnnotationMap.cs
- ForeignKeyConstraint.cs
- ImportCatalogPart.cs
- ImageAutomationPeer.cs
- HttpResponseHeader.cs
- AuthorizationRuleCollection.cs
- ProfessionalColorTable.cs
- LocalsItemDescription.cs
- Crc32Helper.cs
- PropertyRef.cs
- FixedFlowMap.cs
- XmlSchemaGroup.cs
- HandlerFactoryWrapper.cs
- SessionSwitchEventArgs.cs
- PeerNameRegistration.cs
- TableCellCollection.cs
- SqlGenerator.cs
- EntityTypeBase.cs
- BufferedWebEventProvider.cs
- PeerNameRecord.cs
- PipelineModuleStepContainer.cs
- DataGridViewComboBoxEditingControl.cs
- DateTimeUtil.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataContractSerializerSection.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- ListViewTableCell.cs
- ValidationResult.cs
- GreenMethods.cs
- DetailsViewRowCollection.cs
- FileUtil.cs
- CodeTypeDelegate.cs
- TrustLevelCollection.cs
- Tuple.cs
- CharStorage.cs
- Menu.cs