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
- InkCanvasSelection.cs
- MetadataProperty.cs
- PermissionSetEnumerator.cs
- Queue.cs
- TagPrefixCollection.cs
- TextTrailingCharacterEllipsis.cs
- TextElementEnumerator.cs
- Quaternion.cs
- Nodes.cs
- WebBrowser.cs
- ToolStripItemEventArgs.cs
- InvalidDataContractException.cs
- XmlEntityReference.cs
- ServiceProviders.cs
- ConversionContext.cs
- _ConnectionGroup.cs
- SoapServerProtocol.cs
- SiteMapHierarchicalDataSourceView.cs
- ButtonBaseAdapter.cs
- BaseProcessor.cs
- XPathParser.cs
- ItemsPresenter.cs
- TextRunProperties.cs
- ToolStripItemBehavior.cs
- MenuItemCollectionEditorDialog.cs
- _UriTypeConverter.cs
- SoundPlayer.cs
- DynamicValueConverter.cs
- EnumerableValidator.cs
- COM2ColorConverter.cs
- SessionSwitchEventArgs.cs
- DeferredReference.cs
- ToggleButtonAutomationPeer.cs
- PointLight.cs
- EnumValAlphaComparer.cs
- PropertyGroupDescription.cs
- ExtensionDataReader.cs
- BitmapDownload.cs
- LogArchiveSnapshot.cs
- OrderedDictionaryStateHelper.cs
- AdRotator.cs
- SiteMapDataSourceDesigner.cs
- StringArrayConverter.cs
- UriTemplateEquivalenceComparer.cs
- ListBoxItemAutomationPeer.cs
- OptimisticConcurrencyException.cs
- SqlDataSourceFilteringEventArgs.cs
- BevelBitmapEffect.cs
- HMACSHA1.cs
- itemelement.cs
- CheckBoxStandardAdapter.cs
- InternalControlCollection.cs
- ResolveCriteria.cs
- VirtualDirectoryMapping.cs
- SqlError.cs
- ObjectDataSourceMethodEventArgs.cs
- ProfilePropertySettingsCollection.cs
- COM2Properties.cs
- Point3DAnimationUsingKeyFrames.cs
- PolyLineSegment.cs
- DecimalConstantAttribute.cs
- Exceptions.cs
- TextModifierScope.cs
- Helper.cs
- SerializationObjectManager.cs
- DataShape.cs
- FrameworkElementFactoryMarkupObject.cs
- TreeSet.cs
- ComponentRenameEvent.cs
- FormsAuthenticationUser.cs
- CodeEntryPointMethod.cs
- StringExpressionSet.cs
- ProfilePropertySettingsCollection.cs
- XmlTextEncoder.cs
- CheckBoxStandardAdapter.cs
- LicenseContext.cs
- TextEditorSpelling.cs
- BitmapMetadataBlob.cs
- Int32.cs
- Avt.cs
- CertificateManager.cs
- PaperSource.cs
- SamlSecurityTokenAuthenticator.cs
- ScriptHandlerFactory.cs
- Util.cs
- MessageDecoder.cs
- StandardToolWindows.cs
- DockPatternIdentifiers.cs
- FileUtil.cs
- ToolStripStatusLabel.cs
- TextWriter.cs
- BigInt.cs
- Unit.cs
- ObjectComplexPropertyMapping.cs
- Hashtable.cs
- log.cs
- CommandExpr.cs
- FloatMinMaxAggregationOperator.cs
- FileDialogPermission.cs
- Random.cs