Code:
/ FX-1434 / FX-1434 / 1.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
- PipeStream.cs
- SpecialNameAttribute.cs
- TextRange.cs
- COM2Properties.cs
- IDispatchConstantAttribute.cs
- SelectedDatesCollection.cs
- BaseTemplateBuildProvider.cs
- GraphicsContainer.cs
- GenerateTemporaryAssemblyTask.cs
- PreProcessor.cs
- ExtensibleClassFactory.cs
- cookie.cs
- TreeViewDesigner.cs
- TextServicesCompartment.cs
- DateTimeConverter.cs
- RemotingException.cs
- XmlBinaryReader.cs
- DrawingImage.cs
- baseaxisquery.cs
- CertificateElement.cs
- SystemColorTracker.cs
- AutoSizeComboBox.cs
- ServiceProviders.cs
- cryptoapiTransform.cs
- UIPropertyMetadata.cs
- IPHostEntry.cs
- ObjectPersistData.cs
- ConcurrencyMode.cs
- DecoderExceptionFallback.cs
- TextRangeEditLists.cs
- ErrorWebPart.cs
- BasicExpandProvider.cs
- PointValueSerializer.cs
- PartitionerQueryOperator.cs
- PropertyManager.cs
- BindingGroup.cs
- SegmentInfo.cs
- PluralizationServiceUtil.cs
- TextReturnReader.cs
- CopyCodeAction.cs
- DefaultSerializationProviderAttribute.cs
- WarningException.cs
- LinqDataView.cs
- DirectionalLight.cs
- KnownTypesHelper.cs
- SQLInt32Storage.cs
- ToolTip.cs
- util.cs
- ToolStripSystemRenderer.cs
- DataGridViewIntLinkedList.cs
- DrawingDrawingContext.cs
- DelayedRegex.cs
- GeometryGroup.cs
- BitmapEffectInput.cs
- MethodBuilderInstantiation.cs
- DataBinder.cs
- DataListItemCollection.cs
- LoadedOrUnloadedOperation.cs
- KeyValueInternalCollection.cs
- NumberSubstitution.cs
- FastEncoder.cs
- HandlerBase.cs
- TextSegment.cs
- SeparatorAutomationPeer.cs
- SecurityContext.cs
- BasicExpressionVisitor.cs
- RuntimeVariablesExpression.cs
- EmptyStringExpandableObjectConverter.cs
- UnitySerializationHolder.cs
- MetafileHeader.cs
- TemplateInstanceAttribute.cs
- PathData.cs
- GeometryValueSerializer.cs
- TableRow.cs
- QualificationDataAttribute.cs
- SerializationInfo.cs
- ByteAnimationUsingKeyFrames.cs
- StorageRoot.cs
- TextSelectionHighlightLayer.cs
- CellTreeNode.cs
- DragStartedEventArgs.cs
- ISAPIWorkerRequest.cs
- DataColumnMapping.cs
- PropertiesTab.cs
- CallSiteHelpers.cs
- RequestDescription.cs
- XmlSerializableServices.cs
- PagedDataSource.cs
- PrintingPermissionAttribute.cs
- DataGridViewCheckBoxColumn.cs
- XmlTextReaderImplHelpers.cs
- ApplicationHost.cs
- CodePageUtils.cs
- StrokeNodeOperations2.cs
- AesManaged.cs
- CacheMode.cs
- CSharpCodeProvider.cs
- NetTcpSecurity.cs
- GroupLabel.cs
- CompositeActivityMarkupSerializer.cs