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 / 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
- GeometryModel3D.cs
- AffineTransform3D.cs
- GridViewSortEventArgs.cs
- BitmapSource.cs
- SurrogateChar.cs
- StrictAndMessageFilter.cs
- WindowVisualStateTracker.cs
- FormatterServices.cs
- Helper.cs
- WinCategoryAttribute.cs
- RuntimeCompatibilityAttribute.cs
- MobileControlsSectionHandler.cs
- Vector.cs
- AlphaSortedEnumConverter.cs
- ResourceDictionaryCollection.cs
- LingerOption.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SocketElement.cs
- FixedPageAutomationPeer.cs
- WebEventCodes.cs
- ListViewHitTestInfo.cs
- SQLBoolean.cs
- GCHandleCookieTable.cs
- PointAnimationUsingKeyFrames.cs
- XmlSchemaGroup.cs
- BamlRecords.cs
- CodeChecksumPragma.cs
- IRCollection.cs
- mansign.cs
- SQLBinary.cs
- PlainXmlDeserializer.cs
- InstanceNotReadyException.cs
- TreeNodeStyleCollectionEditor.cs
- ErrorWebPart.cs
- SelectionRange.cs
- RoleManagerModule.cs
- ByteAnimation.cs
- ExtensionQuery.cs
- OdbcUtils.cs
- SelectedDatesCollection.cs
- MobilePage.cs
- PublisherMembershipCondition.cs
- QueryRewriter.cs
- ModuleBuilderData.cs
- AssemblyUtil.cs
- Size.cs
- ExcCanonicalXml.cs
- ColumnMapVisitor.cs
- SqlNode.cs
- CompatibleComparer.cs
- DataObjectFieldAttribute.cs
- ListContractAdapter.cs
- EnumConverter.cs
- EntityDataSourceContainerNameConverter.cs
- XmlEventCache.cs
- Vector.cs
- DispatchChannelSink.cs
- PatternMatcher.cs
- Base64Encoding.cs
- ConstraintCollection.cs
- XhtmlConformanceSection.cs
- SqlConnectionHelper.cs
- ObjectCloneHelper.cs
- DataGridItemCollection.cs
- BorderGapMaskConverter.cs
- ConnectionConsumerAttribute.cs
- StackBuilderSink.cs
- TextElement.cs
- NotifyParentPropertyAttribute.cs
- InvokeBase.cs
- ListBoxItemAutomationPeer.cs
- CompilerCollection.cs
- ReliableOutputSessionChannel.cs
- DynamicObjectAccessor.cs
- DEREncoding.cs
- XNameConverter.cs
- ObjectConverter.cs
- PrinterUnitConvert.cs
- StreamInfo.cs
- HebrewCalendar.cs
- Vector3DIndependentAnimationStorage.cs
- ApplicationServiceManager.cs
- XmlSchemaGroupRef.cs
- IApplicationTrustManager.cs
- Utility.cs
- MetadataItemSerializer.cs
- ProxyGenerationError.cs
- XmlSchemaAttribute.cs
- HttpCachePolicy.cs
- ProviderCollection.cs
- PathGeometry.cs
- ActivityPropertyReference.cs
- NumberSubstitution.cs
- MessageSmuggler.cs
- LogFlushAsyncResult.cs
- TransactionInformation.cs
- TraceUtility.cs
- TypeToken.cs
- DynamicField.cs
- XmlEntity.cs