Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayRankMismatchException.cs / 1305376 / SafeArrayRankMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } [System.Security.SecuritySafeCritical] // auto-generated protected SafeArrayRankMismatchException(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: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } [System.Security.SecuritySafeCritical] // auto-generated protected SafeArrayRankMismatchException(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
- AsyncPostBackTrigger.cs
- EncoderParameter.cs
- HtmlButton.cs
- State.cs
- TypedElement.cs
- coordinator.cs
- LineBreak.cs
- PublisherMembershipCondition.cs
- TypeDependencyAttribute.cs
- OleDbPropertySetGuid.cs
- _HeaderInfo.cs
- OleDbReferenceCollection.cs
- HashJoinQueryOperatorEnumerator.cs
- CodeMemberEvent.cs
- EmptyEnumerator.cs
- Pen.cs
- TreeNodeEventArgs.cs
- webeventbuffer.cs
- RegexFCD.cs
- ObjectStateManagerMetadata.cs
- XsdCachingReader.cs
- NetNamedPipeSecurity.cs
- ColorContextHelper.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- EncodingInfo.cs
- NetworkInformationPermission.cs
- EntityProxyFactory.cs
- ImageDrawing.cs
- Merger.cs
- GridProviderWrapper.cs
- RootBrowserWindow.cs
- ImportCatalogPart.cs
- TaskFactory.cs
- DataFieldConverter.cs
- DisposableCollectionWrapper.cs
- LineGeometry.cs
- BatchServiceHost.cs
- TableParaClient.cs
- CollectionTraceRecord.cs
- PropertyToken.cs
- PopupEventArgs.cs
- TextContainerChangedEventArgs.cs
- Converter.cs
- ISessionStateStore.cs
- TraceUtils.cs
- IUnknownConstantAttribute.cs
- TextTreeTextElementNode.cs
- PhonemeConverter.cs
- Help.cs
- SettingsPropertyNotFoundException.cs
- CatalogZoneBase.cs
- ExpressionTextBox.xaml.cs
- InvalidProgramException.cs
- Page.cs
- WorkflowMarkupSerializer.cs
- ScaleTransform.cs
- CompilerState.cs
- TypeUnloadedException.cs
- SqlUDTStorage.cs
- ProcessHostFactoryHelper.cs
- BrushConverter.cs
- TextContainerChangeEventArgs.cs
- BitmapMetadata.cs
- TypedDataSetSchemaImporterExtension.cs
- SerialErrors.cs
- DiagnosticsConfigurationHandler.cs
- WebContentFormatHelper.cs
- CrossContextChannel.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- CriticalHandle.cs
- Evaluator.cs
- SingleSelectRootGridEntry.cs
- SecureConversationSecurityTokenParameters.cs
- HtmlGenericControl.cs
- ApplicationSettingsBase.cs
- TimeSpanConverter.cs
- MultipleViewPattern.cs
- Schema.cs
- _ChunkParse.cs
- Win32KeyboardDevice.cs
- DateTimePicker.cs
- ViewGenResults.cs
- FormsIdentity.cs
- IconConverter.cs
- ReturnValue.cs
- ToolStripButton.cs
- wmiprovider.cs
- TextViewSelectionProcessor.cs
- UIPropertyMetadata.cs
- LocationSectionRecord.cs
- SystemFonts.cs
- OleDbPropertySetGuid.cs
- SupportingTokenSecurityTokenResolver.cs
- ACL.cs
- ArraySortHelper.cs
- CharacterMetrics.cs
- InteropBitmapSource.cs
- ChildTable.cs
- DataViewManager.cs