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
- BoundColumn.cs
- StringResourceManager.cs
- OleDbInfoMessageEvent.cs
- _ProxyChain.cs
- WsdlInspector.cs
- XmlSchemaObject.cs
- FileUpload.cs
- WindowsFormsHostAutomationPeer.cs
- BigInt.cs
- DependentTransaction.cs
- BooleanSwitch.cs
- ping.cs
- EventData.cs
- TextTreeObjectNode.cs
- SqlGenericUtil.cs
- DataDocumentXPathNavigator.cs
- ToolStripItemRenderEventArgs.cs
- DesignerToolboxInfo.cs
- OleDbMetaDataFactory.cs
- WebBrowserPermission.cs
- SqlServices.cs
- TextEffectCollection.cs
- ObjectParameterCollection.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- PresentationAppDomainManager.cs
- DocumentViewerBase.cs
- ClipboardData.cs
- HtmlInputPassword.cs
- SqlExpressionNullability.cs
- AssociatedControlConverter.cs
- ContextStaticAttribute.cs
- DataSourceView.cs
- ProviderException.cs
- Point3D.cs
- MappedMetaModel.cs
- XmlSchemaInferenceException.cs
- CFStream.cs
- ClientSideQueueItem.cs
- Comparer.cs
- SectionUpdates.cs
- SystemColors.cs
- FileIOPermission.cs
- TranslateTransform.cs
- ProfileService.cs
- NodeFunctions.cs
- PropertyCondition.cs
- PlacementWorkspace.cs
- FakeModelItemImpl.cs
- SiteMapProvider.cs
- XmlWriterTraceListener.cs
- DataViewManager.cs
- StructuralType.cs
- SegmentTree.cs
- CollectionEditVerbManager.cs
- StrokeNodeOperations.cs
- OleDbCommand.cs
- PointCollectionValueSerializer.cs
- ContainsRowNumberChecker.cs
- WebPartConnectionsCloseVerb.cs
- UIElementHelper.cs
- XPathDocumentNavigator.cs
- NamespaceTable.cs
- TypeUsageBuilder.cs
- RoutedPropertyChangedEventArgs.cs
- EntityExpressionVisitor.cs
- SQLInt64Storage.cs
- ConfigXmlAttribute.cs
- OSFeature.cs
- DispatchWrapper.cs
- Transactions.cs
- HtmlInputControl.cs
- GPStream.cs
- RedirectionProxy.cs
- DataControlFieldCell.cs
- NavigationExpr.cs
- CachingParameterInspector.cs
- EnumValAlphaComparer.cs
- ChameleonKey.cs
- SessionKeyExpiredException.cs
- QuaternionAnimation.cs
- WebRequestModuleElementCollection.cs
- TraceHandlerErrorFormatter.cs
- latinshape.cs
- EntityReference.cs
- WebPartConnection.cs
- MimeMultiPart.cs
- InfiniteTimeSpanConverter.cs
- HtmlControlAdapter.cs
- WpfXamlMember.cs
- TraceProvider.cs
- DbParameterHelper.cs
- LongPath.cs
- XmlDocumentType.cs
- StringConcat.cs
- SplitterEvent.cs
- ConfigurationLoaderException.cs
- DataObject.cs
- FilterEventArgs.cs
- TraceUtility.cs
- RotateTransform3D.cs