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
- GridViewColumnHeaderAutomationPeer.cs
- SapiAttributeParser.cs
- ContentFilePart.cs
- MouseGestureConverter.cs
- BitmapVisualManager.cs
- SmtpSection.cs
- XmlWellformedWriter.cs
- DataListDesigner.cs
- UniqueConstraint.cs
- ProvidersHelper.cs
- arc.cs
- ComPlusDiagnosticTraceRecords.cs
- Translator.cs
- TagPrefixAttribute.cs
- TextSpan.cs
- ChannelHandler.cs
- AttachmentCollection.cs
- DodSequenceMerge.cs
- GeneralTransformGroup.cs
- MouseGestureValueSerializer.cs
- XmlReaderDelegator.cs
- ProjectionCamera.cs
- FixedFindEngine.cs
- BasicAsyncResult.cs
- ProviderException.cs
- ConnectionStringEditor.cs
- ConfigurationFileMap.cs
- TemplateControlCodeDomTreeGenerator.cs
- QuadraticBezierSegment.cs
- EntityDataSourceView.cs
- VectorAnimationBase.cs
- ImageCodecInfoPrivate.cs
- WriteTimeStream.cs
- _DisconnectOverlappedAsyncResult.cs
- NavigationPropertySingletonExpression.cs
- PathSegmentCollection.cs
- TextBlockAutomationPeer.cs
- FrameworkPropertyMetadata.cs
- EndOfStreamException.cs
- GuidelineCollection.cs
- XmlValidatingReader.cs
- PropertyGrid.cs
- KeyFrames.cs
- AnnotationObservableCollection.cs
- WsrmFault.cs
- GregorianCalendarHelper.cs
- SmtpFailedRecipientsException.cs
- XmlCompatibilityReader.cs
- FormsAuthenticationCredentials.cs
- TimersDescriptionAttribute.cs
- BulletedList.cs
- SetIterators.cs
- SerializationHelper.cs
- PowerStatus.cs
- HelpKeywordAttribute.cs
- BuildProvider.cs
- XmlSerializableServices.cs
- GCHandleCookieTable.cs
- CodePrimitiveExpression.cs
- SHA256Managed.cs
- WebPart.cs
- DependencyObjectProvider.cs
- TextReader.cs
- WindowsTitleBar.cs
- XmlEnumAttribute.cs
- WindowPatternIdentifiers.cs
- DataGridViewCellStateChangedEventArgs.cs
- DesignerSerializationVisibilityAttribute.cs
- XmlSignatureProperties.cs
- CodeAttachEventStatement.cs
- CursorConverter.cs
- EntityDataSourceUtil.cs
- ClientScriptManager.cs
- HitTestParameters.cs
- Mappings.cs
- SQLUtility.cs
- IntegrationExceptionEventArgs.cs
- DataMemberAttribute.cs
- TypeBrowserDialog.cs
- InternalsVisibleToAttribute.cs
- DefaultSettingsSection.cs
- Operand.cs
- WebPart.cs
- ObjectSecurityT.cs
- OleDbDataAdapter.cs
- TextRangeAdaptor.cs
- HwndAppCommandInputProvider.cs
- ScrollContentPresenter.cs
- RealizationDrawingContextWalker.cs
- Point4D.cs
- GlyphElement.cs
- TypeConverterValueSerializer.cs
- validationstate.cs
- BamlRecordHelper.cs
- FileUpload.cs
- SkinBuilder.cs
- InkCanvasSelection.cs
- BufferBuilder.cs
- X509SecurityToken.cs
- MenuTracker.cs