Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayRankMismatchException.cs / 1 / 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); } 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); } 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
- XmlCDATASection.cs
- NonSerializedAttribute.cs
- DefaultWorkflowTransactionService.cs
- TreeNodeMouseHoverEvent.cs
- BinaryCommonClasses.cs
- Normalization.cs
- SqlCacheDependencySection.cs
- _DisconnectOverlappedAsyncResult.cs
- DeferredSelectedIndexReference.cs
- ManagementExtension.cs
- ToolboxItem.cs
- BinaryParser.cs
- Calendar.cs
- mda.cs
- TemplateGroupCollection.cs
- WindowVisualStateTracker.cs
- ExpressionNode.cs
- DefaultObjectMappingItemCollection.cs
- MatrixCamera.cs
- WeakReferenceList.cs
- Rectangle.cs
- XsdCachingReader.cs
- BamlBinaryWriter.cs
- StrokeNodeEnumerator.cs
- FactoryMaker.cs
- PropertyToken.cs
- FontConverter.cs
- SQLByte.cs
- SortedDictionary.cs
- UrlSyndicationContent.cs
- BufferModeSettings.cs
- EncryptedXml.cs
- MultiDataTrigger.cs
- SmiEventSink_Default.cs
- DataGridItemEventArgs.cs
- RegexParser.cs
- XmlDataSourceNodeDescriptor.cs
- RegexCompiler.cs
- ByteConverter.cs
- PersonalizationStateInfo.cs
- Int64Storage.cs
- DynamicControl.cs
- TransformerInfoCollection.cs
- DockPanel.cs
- ExtentCqlBlock.cs
- OptionUsage.cs
- EntityContainerEmitter.cs
- MonitoringDescriptionAttribute.cs
- pingexception.cs
- translator.cs
- TextEvent.cs
- ThumbAutomationPeer.cs
- TransactionTraceIdentifier.cs
- ComplexLine.cs
- autovalidator.cs
- JavascriptCallbackBehaviorAttribute.cs
- Ref.cs
- SqlReferenceCollection.cs
- DynamicRenderer.cs
- ISFClipboardData.cs
- ConnectionConsumerAttribute.cs
- XPathEmptyIterator.cs
- HasCopySemanticsAttribute.cs
- Application.cs
- RSAOAEPKeyExchangeFormatter.cs
- FileDialogCustomPlacesCollection.cs
- ModulesEntry.cs
- TransactedBatchContext.cs
- PermissionToken.cs
- HtmlImage.cs
- ResourceExpressionBuilder.cs
- HtmlTableRow.cs
- BuildManager.cs
- CollectionTraceRecord.cs
- ListViewGroupConverter.cs
- Geometry.cs
- ApplicationInfo.cs
- SortedDictionary.cs
- FixedSOMTableRow.cs
- ButtonPopupAdapter.cs
- FormViewDeleteEventArgs.cs
- CapabilitiesAssignment.cs
- SqlDataSourceStatusEventArgs.cs
- PropertyChangedEventArgs.cs
- IDispatchConstantAttribute.cs
- TraceSource.cs
- TemplateField.cs
- PageParser.cs
- WindowsPen.cs
- ProxyElement.cs
- Bidi.cs
- FileStream.cs
- SafeCoTaskMem.cs
- Parser.cs
- ErrorCodes.cs
- Transform.cs
- ResourceIDHelper.cs
- ResolveNameEventArgs.cs
- SqlBooleanMismatchVisitor.cs
- ButtonBase.cs