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
- GridProviderWrapper.cs
- HtmlTableRow.cs
- DataGridViewHitTestInfo.cs
- EmptyQuery.cs
- RepeaterItem.cs
- DecoratedNameAttribute.cs
- SoapAttributeOverrides.cs
- MethodCallTranslator.cs
- WebPartConnectionsCloseVerb.cs
- VisualStyleInformation.cs
- TextBoxBase.cs
- XmlSchemaGroupRef.cs
- ImageFormatConverter.cs
- DataServiceQueryProvider.cs
- ProxyWebPartManager.cs
- MultiPageTextView.cs
- IteratorDescriptor.cs
- ParseNumbers.cs
- ChangesetResponse.cs
- ListItemCollection.cs
- DateTimeFormat.cs
- RectKeyFrameCollection.cs
- SHA384Cng.cs
- CommandValueSerializer.cs
- SettingsContext.cs
- CompilationUtil.cs
- EventMap.cs
- BufferModeSettings.cs
- SerializationSectionGroup.cs
- XhtmlConformanceSection.cs
- counter.cs
- SymbolType.cs
- QueryRewriter.cs
- Debug.cs
- TextAdaptor.cs
- TypeExtensionSerializer.cs
- WmfPlaceableFileHeader.cs
- ClientBuildManager.cs
- StopStoryboard.cs
- OutOfProcStateClientManager.cs
- DataGridViewCellFormattingEventArgs.cs
- ValidationError.cs
- ClientRoleProvider.cs
- StickyNote.cs
- CanonicalXml.cs
- ComUdtElementCollection.cs
- xml.cs
- CodeThrowExceptionStatement.cs
- CellConstant.cs
- ActionFrame.cs
- CollectionView.cs
- Int32CollectionConverter.cs
- RequestCacheEntry.cs
- SwitchElementsCollection.cs
- FrameworkContentElement.cs
- IndexingContentUnit.cs
- TreeViewCancelEvent.cs
- SapiRecoContext.cs
- ArgumentNullException.cs
- SelectedGridItemChangedEvent.cs
- NotifyCollectionChangedEventArgs.cs
- TransportSecurityProtocolFactory.cs
- ConcurrentStack.cs
- RenderingEventArgs.cs
- ControlPaint.cs
- WebControlAdapter.cs
- RangeValueProviderWrapper.cs
- MatrixTransform.cs
- ResourceExpression.cs
- __FastResourceComparer.cs
- RegexBoyerMoore.cs
- KeySplineConverter.cs
- KnownTypeAttribute.cs
- CodeAttributeArgument.cs
- DefaultPropertyAttribute.cs
- SmiContext.cs
- VersionValidator.cs
- UnsafeNetInfoNativeMethods.cs
- XmlILOptimizerVisitor.cs
- CompModSwitches.cs
- NavigationProperty.cs
- ViewgenContext.cs
- MetaTableHelper.cs
- brushes.cs
- StrongNameIdentityPermission.cs
- ItemCheckedEvent.cs
- WmfPlaceableFileHeader.cs
- ExtenderControl.cs
- LoginDesigner.cs
- ManageRequest.cs
- EntityProviderFactory.cs
- AbsoluteQuery.cs
- BinaryReader.cs
- CapabilitiesPattern.cs
- XmlNode.cs
- DebugView.cs
- DataListItemCollection.cs
- ShaderEffect.cs
- DPAPIProtectedConfigurationProvider.cs
- PenLineJoinValidation.cs