Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CodeDirectoryCompiler.cs
- ContentPosition.cs
- DynamicDiscoSearcher.cs
- Identifier.cs
- IsolatedStorageFileStream.cs
- Stylus.cs
- SafeIUnknown.cs
- VariableAction.cs
- BatchParser.cs
- ReceiveParametersContent.cs
- ADMembershipUser.cs
- TransformDescriptor.cs
- CutCopyPasteHelper.cs
- XMLDiffLoader.cs
- SignedXml.cs
- AdapterUtil.cs
- JsonWriter.cs
- Root.cs
- ASCIIEncoding.cs
- MessageOperationFormatter.cs
- EventsTab.cs
- PackageRelationshipCollection.cs
- ToolstripProfessionalRenderer.cs
- DbInsertCommandTree.cs
- WhiteSpaceTrimStringConverter.cs
- PropertyChangeTracker.cs
- DiscoveryClientBindingElement.cs
- IteratorDescriptor.cs
- Axis.cs
- FreeFormDesigner.cs
- DataGridViewElement.cs
- TabControl.cs
- SqlGenerator.cs
- recordstatescratchpad.cs
- InvokePattern.cs
- PageSettings.cs
- PermissionSetEnumerator.cs
- SiteMembershipCondition.cs
- BindingManagerDataErrorEventArgs.cs
- DataListItemCollection.cs
- InlineUIContainer.cs
- SynchronizationLockException.cs
- XslCompiledTransform.cs
- ClientTargetCollection.cs
- HelloOperationAsyncResult.cs
- CodeRegionDirective.cs
- SqlMethods.cs
- ScopeCompiler.cs
- ProviderCommandInfoUtils.cs
- XsdValidatingReader.cs
- XmlNodeList.cs
- TextReader.cs
- HostVisual.cs
- PropertyChangingEventArgs.cs
- WebPartMovingEventArgs.cs
- EntityModelBuildProvider.cs
- ProvideValueServiceProvider.cs
- _SslStream.cs
- ContentOnlyMessage.cs
- _IPv6Address.cs
- XsltArgumentList.cs
- ToolStripGripRenderEventArgs.cs
- SortDescriptionCollection.cs
- NamespaceListProperty.cs
- ConnectionString.cs
- Trigger.cs
- ConnectivityStatus.cs
- DoubleLinkListEnumerator.cs
- SharedPersonalizationStateInfo.cs
- FixedSOMSemanticBox.cs
- Guid.cs
- SqlMultiplexer.cs
- TextSerializer.cs
- SvcFileManager.cs
- HttpException.cs
- ResourceReferenceKeyNotFoundException.cs
- CustomAttributeBuilder.cs
- TemplatePropertyEntry.cs
- BitmapFrame.cs
- XmlNamespaceMapping.cs
- SignatureGenerator.cs
- FactoryGenerator.cs
- BufferedOutputStream.cs
- ExtenderProvidedPropertyAttribute.cs
- EnumerableRowCollectionExtensions.cs
- SetterBaseCollection.cs
- DBParameter.cs
- DesignerObjectListAdapter.cs
- HitTestParameters.cs
- CachedFontFamily.cs
- SmiContext.cs
- SqlXml.cs
- ListSurrogate.cs
- SecurityUniqueId.cs
- Journal.cs
- TaiwanLunisolarCalendar.cs
- FieldCollectionEditor.cs
- ProjectionAnalyzer.cs
- EventLogReader.cs
- DrawingGroupDrawingContext.cs