Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / RankException.cs / 1305376 / RankException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: RankException ** ** ** Purpose: For methods that are passed arrays with the wrong number of ** dimensions. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class RankException : SystemException { public RankException() : base(Environment.GetResourceString("Arg_RankException")) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message) : base(message) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_RANK); } [System.Security.SecuritySafeCritical] // auto-generated protected RankException(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: RankException ** ** ** Purpose: For methods that are passed arrays with the wrong number of ** dimensions. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class RankException : SystemException { public RankException() : base(Environment.GetResourceString("Arg_RankException")) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message) : base(message) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_RANK); } [System.Security.SecuritySafeCritical] // auto-generated protected RankException(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
- PrintDialog.cs
- PersonalizationEntry.cs
- OutputCacheSection.cs
- OledbConnectionStringbuilder.cs
- Part.cs
- EntityDataSourceState.cs
- PaintValueEventArgs.cs
- ReadOnlyNameValueCollection.cs
- DataGridViewHitTestInfo.cs
- UriTemplateLiteralPathSegment.cs
- ContentDisposition.cs
- SafeMILHandle.cs
- ByteBufferPool.cs
- DataBinder.cs
- NativeMethods.cs
- SettingsSavedEventArgs.cs
- WorkflowElementDialog.cs
- QilTypeChecker.cs
- ObjectSecurity.cs
- TypeForwardedToAttribute.cs
- URLIdentityPermission.cs
- TypeForwardedFromAttribute.cs
- EdmItemCollection.cs
- Triangle.cs
- UntrustedRecipientException.cs
- SelectedDatesCollection.cs
- AssertUtility.cs
- CategoryValueConverter.cs
- VsPropertyGrid.cs
- XmlDictionaryReader.cs
- X509CertificateValidator.cs
- OracleTransaction.cs
- WebHttpBindingCollectionElement.cs
- Walker.cs
- GeometryConverter.cs
- TcpServerChannel.cs
- EncryptedPackageFilter.cs
- TextDecorationUnitValidation.cs
- SimpleApplicationHost.cs
- BaseDataListActionList.cs
- TemplateParser.cs
- ListViewInsertEventArgs.cs
- XmlSchemaExporter.cs
- AspNetCompatibilityRequirementsMode.cs
- WebServiceData.cs
- CancelEventArgs.cs
- XamlPoint3DCollectionSerializer.cs
- MatrixAnimationUsingPath.cs
- VisemeEventArgs.cs
- httpapplicationstate.cs
- HandlerMappingMemo.cs
- DataListItem.cs
- TreeNodeBinding.cs
- EventLogPropertySelector.cs
- Certificate.cs
- ListViewGroup.cs
- DynamicRenderer.cs
- CallbackTimeoutsElement.cs
- TextParaClient.cs
- SqlDataRecord.cs
- DateTimeSerializationSection.cs
- CompiledQueryCacheEntry.cs
- RootBrowserWindowAutomationPeer.cs
- TabOrder.cs
- DataComponentGenerator.cs
- WebHttpSecurityModeHelper.cs
- SiteMapHierarchicalDataSourceView.cs
- CommonXSendMessage.cs
- Bits.cs
- TimeSpanOrInfiniteConverter.cs
- HeaderCollection.cs
- Rect3D.cs
- WebColorConverter.cs
- TableProviderWrapper.cs
- IconEditor.cs
- thaishape.cs
- WinFormsComponentEditor.cs
- DataViewListener.cs
- TreeBuilder.cs
- InternalSafeNativeMethods.cs
- BamlReader.cs
- ElementNotAvailableException.cs
- ExceptionValidationRule.cs
- OperandQuery.cs
- SharedDp.cs
- Int32EqualityComparer.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Publisher.cs
- ChangePassword.cs
- CookielessHelper.cs
- ExpressionTable.cs
- Lasso.cs
- ContentValidator.cs
- MultiView.cs
- WindowsToolbar.cs
- MethodCallTranslator.cs
- xmlsaver.cs
- StandardBindingCollectionElement.cs
- StateMachineWorkflowInstance.cs
- WindowsEditBoxRange.cs