Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GacUtil.cs
- MetadataHelper.cs
- ImageButton.cs
- EventLogEntryCollection.cs
- FixedFlowMap.cs
- StretchValidation.cs
- FormViewUpdateEventArgs.cs
- TextMarkerSource.cs
- LayoutUtils.cs
- StylusButton.cs
- ClockGroup.cs
- HttpResponse.cs
- NaturalLanguageHyphenator.cs
- xmlglyphRunInfo.cs
- ParagraphResult.cs
- PostBackTrigger.cs
- ToolstripProfessionalRenderer.cs
- XpsSerializationManager.cs
- ProgressiveCrcCalculatingStream.cs
- FileCodeGroup.cs
- WebPartRestoreVerb.cs
- StatusBarPanel.cs
- CodeGenerator.cs
- DiagnosticsConfiguration.cs
- WebPartDisplayMode.cs
- TemplateBaseAction.cs
- ProviderIncompatibleException.cs
- SqlCacheDependency.cs
- UriExt.cs
- ServiceNameElement.cs
- FixedDocumentSequencePaginator.cs
- login.cs
- TextServicesManager.cs
- VScrollProperties.cs
- Rect3D.cs
- PublisherMembershipCondition.cs
- EdmToObjectNamespaceMap.cs
- DependentList.cs
- FlowThrottle.cs
- DataTable.cs
- OptimizedTemplateContent.cs
- URL.cs
- ProcessHostConfigUtils.cs
- SiteMapProvider.cs
- RankException.cs
- RectAnimation.cs
- NumberFormatter.cs
- FixedSOMTableCell.cs
- DesignerMetadata.cs
- TouchPoint.cs
- ObjectToIdCache.cs
- ObjectViewEntityCollectionData.cs
- mactripleDES.cs
- ProcessHostConfigUtils.cs
- HwndSourceParameters.cs
- ServiceOperation.cs
- KeyInfo.cs
- StyleHelper.cs
- XamlClipboardData.cs
- StateMachineSubscriptionManager.cs
- MetadataCacheItem.cs
- Latin1Encoding.cs
- FunctionCommandText.cs
- Keywords.cs
- DataKey.cs
- Avt.cs
- BamlRecordReader.cs
- GridViewColumn.cs
- InfoCardSymmetricAlgorithm.cs
- MarshalDirectiveException.cs
- PlainXmlSerializer.cs
- MatrixTransform.cs
- ImageDrawing.cs
- Delegate.cs
- XPathPatternBuilder.cs
- ColumnTypeConverter.cs
- ProfilePropertySettingsCollection.cs
- ApplicationFileParser.cs
- SetterBase.cs
- SuppressMergeCheckAttribute.cs
- RadioButton.cs
- HelpFileFileNameEditor.cs
- CodeTypeMember.cs
- FloaterBaseParaClient.cs
- ObjectConverter.cs
- NumericUpDownAccelerationCollection.cs
- CodeNamespaceImport.cs
- XmlSerializerSection.cs
- SqlUserDefinedAggregateAttribute.cs
- _NegoState.cs
- EditorPart.cs
- SelectionUIService.cs
- EpmCustomContentDeSerializer.cs
- _emptywebproxy.cs
- DataGridViewSelectedRowCollection.cs
- StandardToolWindows.cs
- DictionaryManager.cs
- StyleXamlParser.cs
- SystemInfo.cs
- thaishape.cs