Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IndexOutOfRangeException.cs / 1305376 / 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
- XmlTextReaderImplHelpers.cs
- DoubleCollectionValueSerializer.cs
- Timer.cs
- PropVariant.cs
- ToolStripLocationCancelEventArgs.cs
- VirtualDirectoryMapping.cs
- ConvertEvent.cs
- UndoManager.cs
- SHA256Managed.cs
- srgsitem.cs
- ServiceModelConfigurationSectionCollection.cs
- CellNormalizer.cs
- StrongNameUtility.cs
- MarginCollapsingState.cs
- ClientBuildManagerCallback.cs
- BamlStream.cs
- RealizationContext.cs
- ObjectManager.cs
- BufferedReadStream.cs
- TabControl.cs
- WindowAutomationPeer.cs
- ObjectSerializerFactory.cs
- IEnumerable.cs
- TemplateField.cs
- ProjectionPath.cs
- Pair.cs
- QueryAccessibilityHelpEvent.cs
- WebServiceClientProxyGenerator.cs
- CodeSpit.cs
- LinkClickEvent.cs
- Facet.cs
- AssociatedControlConverter.cs
- UnsafeNativeMethods.cs
- DesignerUtils.cs
- AuthenticationModuleElementCollection.cs
- DBNull.cs
- UIElementParagraph.cs
- FileDataSourceCache.cs
- ConfigUtil.cs
- BinaryParser.cs
- SimpleBitVector32.cs
- MultiTrigger.cs
- BufferedWebEventProvider.cs
- EditorZoneBase.cs
- TraceContextEventArgs.cs
- Transactions.cs
- SHA384.cs
- OrderedHashRepartitionStream.cs
- _ProxyChain.cs
- SamlConditions.cs
- DbConnectionPoolGroupProviderInfo.cs
- SqlDataReaderSmi.cs
- Int32Converter.cs
- SecurityUniqueId.cs
- RequestSecurityTokenResponse.cs
- COM2TypeInfoProcessor.cs
- IBuiltInEvidence.cs
- WebPartUserCapability.cs
- CfgRule.cs
- TransformGroup.cs
- AttributeInfo.cs
- FlatButtonAppearance.cs
- CharEnumerator.cs
- TreeNodeStyleCollectionEditor.cs
- versioninfo.cs
- PrimitiveCodeDomSerializer.cs
- AttributeCollection.cs
- DynamicQueryStringParameter.cs
- XmlSignificantWhitespace.cs
- SerialErrors.cs
- DrawingVisual.cs
- RangeBaseAutomationPeer.cs
- MenuTracker.cs
- XmlBaseReader.cs
- OletxResourceManager.cs
- EventProviderTraceListener.cs
- wgx_render.cs
- FileClassifier.cs
- XD.cs
- CheckBoxFlatAdapter.cs
- DragEventArgs.cs
- RepeaterCommandEventArgs.cs
- FlowStep.cs
- MainMenu.cs
- GridItemProviderWrapper.cs
- SystemIPInterfaceProperties.cs
- WriteLineDesigner.xaml.cs
- ObjectConverter.cs
- MemoryFailPoint.cs
- ChangeDirector.cs
- PageParser.cs
- IncrementalReadDecoders.cs
- ScrollData.cs
- DataGridHeaderBorder.cs
- EmptyStringExpandableObjectConverter.cs
- OperationContractAttribute.cs
- WebPartEditorCancelVerb.cs
- ConnectionStringEditor.cs
- ResourceType.cs
- ForeignKeyConstraint.cs