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
- ControlEvent.cs
- DecoderBestFitFallback.cs
- RegexTree.cs
- MachineKeyConverter.cs
- ProgressBarAutomationPeer.cs
- Enum.cs
- ValidatorCollection.cs
- HelloOperation11AsyncResult.cs
- CodePageUtils.cs
- UnmanagedHandle.cs
- precedingquery.cs
- diagnosticsswitches.cs
- UriTemplateDispatchFormatter.cs
- XmlSchemaAnnotation.cs
- RuleRefElement.cs
- XPathDocument.cs
- BinaryNode.cs
- ConfigXmlElement.cs
- RemotingConfigParser.cs
- NameValueSectionHandler.cs
- WebPartsPersonalization.cs
- HandleCollector.cs
- EtwTrace.cs
- ReadOnlyObservableCollection.cs
- UrlMappingsSection.cs
- OperationCanceledException.cs
- DllNotFoundException.cs
- AdCreatedEventArgs.cs
- WindowAutomationPeer.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TopClause.cs
- MarginCollapsingState.cs
- BamlRecordWriter.cs
- URI.cs
- Number.cs
- ExpandableObjectConverter.cs
- MethodCallTranslator.cs
- TdsEnums.cs
- TimerElapsedEvenArgs.cs
- Switch.cs
- TimeSpan.cs
- SessionStateItemCollection.cs
- PaintEvent.cs
- LinkConverter.cs
- DataGridHeaderBorder.cs
- TreeView.cs
- XmlSchemaExternal.cs
- Component.cs
- Maps.cs
- HttpListenerContext.cs
- SafeLocalAllocation.cs
- TPLETWProvider.cs
- RTLAwareMessageBox.cs
- DataRelationCollection.cs
- ActivationWorker.cs
- XmlRawWriterWrapper.cs
- IDataContractSurrogate.cs
- MessageQueuePermissionEntryCollection.cs
- TcpStreams.cs
- UnionCqlBlock.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- LocalizationComments.cs
- SpeakProgressEventArgs.cs
- ClusterUtils.cs
- OleDbFactory.cs
- CheckBoxBaseAdapter.cs
- SqlDataSourceEnumerator.cs
- TileModeValidation.cs
- RegexFCD.cs
- XmlLoader.cs
- DateTimeSerializationSection.cs
- ToolBarTray.cs
- SqlProfileProvider.cs
- DBPropSet.cs
- NonParentingControl.cs
- FSWPathEditor.cs
- CommandBinding.cs
- NonParentingControl.cs
- UserMapPath.cs
- AnonymousIdentificationModule.cs
- FixedSOMGroup.cs
- SurrogateEncoder.cs
- PartitionResolver.cs
- ScaleTransform.cs
- Model3DCollection.cs
- DataGridViewComboBoxColumnDesigner.cs
- NativeRecognizer.cs
- isolationinterop.cs
- LinqTreeNodeEvaluator.cs
- TreeNodeStyleCollection.cs
- TableItemStyle.cs
- BoundField.cs
- DeflateEmulationStream.cs
- PolicyLevel.cs
- Model3DCollection.cs
- RedistVersionInfo.cs
- NavigationFailedEventArgs.cs
- TimerElapsedEvenArgs.cs
- CodeAccessSecurityEngine.cs