Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SqlNotificationEventArgs.cs
- AuthorizationSection.cs
- CultureSpecificStringDictionary.cs
- RowVisual.cs
- HierarchicalDataTemplate.cs
- BitmapScalingModeValidation.cs
- PathSegment.cs
- ConsoleKeyInfo.cs
- ConfigurationProperty.cs
- FlowPosition.cs
- DrawingCollection.cs
- TextMarkerSource.cs
- FormViewUpdateEventArgs.cs
- Utils.cs
- AttachedPropertiesService.cs
- CommonProperties.cs
- NameHandler.cs
- ServiceDeploymentInfo.cs
- CompressStream.cs
- SqlTransaction.cs
- ControlEvent.cs
- TrustLevel.cs
- UnicastIPAddressInformationCollection.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- EntityViewGenerationAttribute.cs
- DbConnectionStringBuilder.cs
- Deserializer.cs
- BitmapEffectGroup.cs
- PairComparer.cs
- InvalidProgramException.cs
- WebBrowserEvent.cs
- XmlSignatureProperties.cs
- HitTestParameters.cs
- Brushes.cs
- Mouse.cs
- PermissionAttributes.cs
- DbDataSourceEnumerator.cs
- DoubleLinkList.cs
- cache.cs
- PointLightBase.cs
- StringCollection.cs
- AvTraceFormat.cs
- UnionExpr.cs
- XamlSerializerUtil.cs
- Size3D.cs
- ControlBuilder.cs
- COM2ExtendedUITypeEditor.cs
- StringCollection.cs
- EntitySetBaseCollection.cs
- FunctionNode.cs
- OleDbSchemaGuid.cs
- CircleHotSpot.cs
- ErrorWebPart.cs
- AssemblyAttributes.cs
- GregorianCalendarHelper.cs
- HtmlWindow.cs
- SQLBinaryStorage.cs
- FilterableAttribute.cs
- Matrix3D.cs
- SqlClientPermission.cs
- UseAttributeSetsAction.cs
- UpdatePanelControlTrigger.cs
- DataGridViewUtilities.cs
- ReadOnlyCollection.cs
- XmlComplianceUtil.cs
- TextElementCollection.cs
- RowToFieldTransformer.cs
- FilteredXmlReader.cs
- XhtmlBasicObjectListAdapter.cs
- ComponentDispatcher.cs
- ClickablePoint.cs
- GradientBrush.cs
- SafeRegistryHandle.cs
- DataServiceQueryProvider.cs
- HostedHttpTransportManager.cs
- ErrorsHelper.cs
- AutomationFocusChangedEventArgs.cs
- SystemTcpConnection.cs
- ResourceDictionaryCollection.cs
- ClientSettingsSection.cs
- MimeTypeAttribute.cs
- EventLogHandle.cs
- MostlySingletonList.cs
- ResourceReferenceExpressionConverter.cs
- SymbolTable.cs
- CqlParser.cs
- ReadOnlyDataSourceView.cs
- FileDialog.cs
- HtmlTernaryTree.cs
- TemplatePartAttribute.cs
- ListBoxItem.cs
- PublishLicense.cs
- SmtpDigestAuthenticationModule.cs
- DomainUpDown.cs
- XamlInt32CollectionSerializer.cs
- COM2PropertyDescriptor.cs
- StringValueSerializer.cs
- SmtpNetworkElement.cs
- DesignerView.Commands.cs
- clipboard.cs