Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ExpressionDumper.cs
- SiteMapPath.cs
- Marshal.cs
- FileEnumerator.cs
- DrawingGroup.cs
- EncoderParameters.cs
- StackOverflowException.cs
- RowToFieldTransformer.cs
- ImportContext.cs
- RuleInfoComparer.cs
- Baml6ConstructorInfo.cs
- Utils.cs
- TypeForwardedToAttribute.cs
- HelpEvent.cs
- X509CertificateValidator.cs
- IncrementalCompileAnalyzer.cs
- bindurihelper.cs
- LoadWorkflowCommand.cs
- AccessText.cs
- WebPartConnectionsConnectVerb.cs
- NotFiniteNumberException.cs
- ByteKeyFrameCollection.cs
- UrlPath.cs
- Listener.cs
- DESCryptoServiceProvider.cs
- DiscreteKeyFrames.cs
- TableAutomationPeer.cs
- Helper.cs
- KeysConverter.cs
- DataGridColumnCollection.cs
- QuaternionAnimation.cs
- InternalBase.cs
- ToolStripPanelRow.cs
- ListViewTableCell.cs
- HttpRequest.cs
- ColorAnimationBase.cs
- StylusDownEventArgs.cs
- SimpleType.cs
- compensatingcollection.cs
- EventEntry.cs
- Control.cs
- RepeaterItem.cs
- ToolStripRendererSwitcher.cs
- CustomGrammar.cs
- PointCollection.cs
- HostProtectionPermission.cs
- DataGridColumnHeader.cs
- SmtpReplyReader.cs
- ListCollectionView.cs
- SafeSecurityHandles.cs
- ElementProxy.cs
- GroupBoxRenderer.cs
- IdentitySection.cs
- DbMetaDataFactory.cs
- VisualProxy.cs
- WindowsAuthenticationEventArgs.cs
- oledbmetadatacolumnnames.cs
- ToolStripDropDownButton.cs
- D3DImage.cs
- EasingKeyFrames.cs
- Encoding.cs
- ObjectManager.cs
- SafeHGlobalHandleCritical.cs
- CodeAttributeDeclaration.cs
- OleDbRowUpdatingEvent.cs
- TCEAdapterGenerator.cs
- ScriptingJsonSerializationSection.cs
- DesignTimeParseData.cs
- MimeTypeAttribute.cs
- IBuiltInEvidence.cs
- FontUnitConverter.cs
- SafeHandle.cs
- EventLogPermissionAttribute.cs
- OdbcInfoMessageEvent.cs
- EventToken.cs
- SerializationEventsCache.cs
- ButtonBaseAutomationPeer.cs
- WebPartZoneBase.cs
- MDIControlStrip.cs
- Image.cs
- XDeferredAxisSource.cs
- PipeStream.cs
- ServiceBehaviorElementCollection.cs
- HtmlTitle.cs
- EmissiveMaterial.cs
- ComponentResourceKey.cs
- AtlasWeb.Designer.cs
- StrongNamePublicKeyBlob.cs
- _ConnectionGroup.cs
- WebPartConnectionsEventArgs.cs
- RegisteredArrayDeclaration.cs
- ResourceProviderFactory.cs
- XmlCustomFormatter.cs
- CodeDirectoryCompiler.cs
- TrustManagerMoreInformation.cs
- CompiledQueryCacheKey.cs
- ScriptReferenceEventArgs.cs
- DependencyPropertyConverter.cs
- StoreContentChangedEventArgs.cs
- AvTraceFormat.cs