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
- ReferencedCollectionType.cs
- SmiEventStream.cs
- XmlNamespaceMappingCollection.cs
- TextParagraph.cs
- HttpListenerRequestTraceRecord.cs
- ByteAnimationBase.cs
- pingexception.cs
- VariableAction.cs
- FixedPosition.cs
- MetadataItem.cs
- BooleanSwitch.cs
- UpdateTracker.cs
- GlobalizationSection.cs
- PixelShader.cs
- Timer.cs
- Misc.cs
- Mappings.cs
- QueuePathDialog.cs
- SourceSwitch.cs
- ListViewGroupItemCollection.cs
- PropertyDescriptorComparer.cs
- SiteIdentityPermission.cs
- QuotedPairReader.cs
- PngBitmapEncoder.cs
- ObjectTag.cs
- ScriptRegistrationManager.cs
- EntityContainer.cs
- SecurityDescriptor.cs
- SchemaAttDef.cs
- SessionEndedEventArgs.cs
- BufferedGraphicsContext.cs
- InputReport.cs
- InputScopeAttribute.cs
- XmlRootAttribute.cs
- DataTemplate.cs
- SingleAnimation.cs
- HandleRef.cs
- SqlCachedBuffer.cs
- RoutedPropertyChangedEventArgs.cs
- SelfIssuedAuthAsymmetricKey.cs
- OperandQuery.cs
- DbgCompiler.cs
- QuotaExceededException.cs
- SqlRewriteScalarSubqueries.cs
- SoapHeader.cs
- StreamAsIStream.cs
- GeneralTransform3DGroup.cs
- TypeSystem.cs
- BrowserCapabilitiesCompiler.cs
- Geometry3D.cs
- DisplayNameAttribute.cs
- StyleModeStack.cs
- Transform3DCollection.cs
- DbModificationCommandTree.cs
- HighlightVisual.cs
- FormParameter.cs
- JpegBitmapEncoder.cs
- PeerSecurityHelpers.cs
- TableLayoutStyleCollection.cs
- XmlTextReaderImpl.cs
- ClientFormsIdentity.cs
- XmlSerializerNamespaces.cs
- ContainerTracking.cs
- PointLight.cs
- ClientRoleProvider.cs
- ConstrainedGroup.cs
- QilScopedVisitor.cs
- StylusPointCollection.cs
- AutomationProperties.cs
- WpfSharedBamlSchemaContext.cs
- RadioButtonList.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DetailsViewModeEventArgs.cs
- RemotingHelper.cs
- HtmlLink.cs
- TreeViewTemplateSelector.cs
- MasterPageBuildProvider.cs
- PenThreadWorker.cs
- RtType.cs
- Path.cs
- ExceptionCollection.cs
- ErrorWrapper.cs
- ObjRef.cs
- ConfigurationValue.cs
- BindingExpressionUncommonField.cs
- QueryableDataSourceEditData.cs
- XmlSchemaComplexContent.cs
- SymbolUsageManager.cs
- LinkArea.cs
- DataProtection.cs
- MailDefinition.cs
- ServiceHostFactory.cs
- FormViewDeleteEventArgs.cs
- DataStreams.cs
- PersonalizationAdministration.cs
- DataGridViewColumn.cs
- WindowsGraphics.cs
- ListView.cs
- MgmtConfigurationRecord.cs
- CollectionConverter.cs