Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchema.cs
- DocumentViewerBase.cs
- ReflectTypeDescriptionProvider.cs
- TreeViewAutomationPeer.cs
- BoolExpression.cs
- StickyNoteContentControl.cs
- TransactionState.cs
- Pair.cs
- OutOfMemoryException.cs
- EncodingNLS.cs
- TypeDescriptionProvider.cs
- ArgumentNullException.cs
- Span.cs
- FixedDocumentSequencePaginator.cs
- ExceptionList.cs
- MarkupCompiler.cs
- SafeNativeMethods.cs
- QueryTaskGroupState.cs
- ConfigurationLocation.cs
- RegexMatchCollection.cs
- DataSourceHelper.cs
- SourceFileBuildProvider.cs
- UnsupportedPolicyOptionsException.cs
- SchemaElementLookUpTableEnumerator.cs
- SmtpFailedRecipientException.cs
- PopupRoot.cs
- MouseCaptureWithinProperty.cs
- newinstructionaction.cs
- MdbDataFileEditor.cs
- XmlSchemaExporter.cs
- Block.cs
- DataSourceXmlSerializationAttribute.cs
- ConvertEvent.cs
- StackBuilderSink.cs
- MDIControlStrip.cs
- XmlBindingWorker.cs
- LookupBindingPropertiesAttribute.cs
- WebEventCodes.cs
- XmlArrayItemAttribute.cs
- RestHandlerFactory.cs
- ContentElementAutomationPeer.cs
- WebPartHeaderCloseVerb.cs
- XpsImage.cs
- PasswordRecovery.cs
- ZoneButton.cs
- NetworkInformationException.cs
- StackBuilderSink.cs
- WSFederationHttpBindingCollectionElement.cs
- FontStretchConverter.cs
- ToolBar.cs
- BrowserCapabilitiesCompiler.cs
- GridLength.cs
- JpegBitmapEncoder.cs
- QueuePathEditor.cs
- ThreadAbortException.cs
- MenuItemCollection.cs
- LocalFileSettingsProvider.cs
- LayoutSettings.cs
- ArrayElementGridEntry.cs
- ToolStripDropDownClosedEventArgs.cs
- URLString.cs
- XslException.cs
- ViewManager.cs
- WebPartAuthorizationEventArgs.cs
- TransformGroup.cs
- BehaviorEditorPart.cs
- PropertyDescriptorCollection.cs
- XPathPatternParser.cs
- ADConnectionHelper.cs
- EntityParameterCollection.cs
- Parser.cs
- XmlWhitespace.cs
- ReflectionServiceProvider.cs
- TransformPattern.cs
- VectorConverter.cs
- ObjectParameterCollection.cs
- TextBlock.cs
- Animatable.cs
- Registry.cs
- Win32.cs
- DataGridViewTextBoxEditingControl.cs
- ListViewDeleteEventArgs.cs
- Nullable.cs
- SoapSchemaMember.cs
- SynchronizationContext.cs
- TextBox.cs
- TitleStyle.cs
- EventListener.cs
- SpinWait.cs
- XmlSerializationGeneratedCode.cs
- CodeSnippetExpression.cs
- XmlUtf8RawTextWriter.cs
- MailHeaderInfo.cs
- CodeSnippetExpression.cs
- BaseComponentEditor.cs
- RowVisual.cs
- AsyncInvokeContext.cs
- ProxyWebPartManager.cs
- VariableModifiersHelper.cs
- _Semaphore.cs