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
- HttpCacheVaryByContentEncodings.cs
- XmlRootAttribute.cs
- EntityDataSourceChangedEventArgs.cs
- Win32Exception.cs
- RequestQueue.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- QuaternionConverter.cs
- SqlTriggerContext.cs
- DbgUtil.cs
- FaultDesigner.cs
- EventToken.cs
- SQLGuid.cs
- UriSectionReader.cs
- IdentityHolder.cs
- SecurityMode.cs
- PersonalizationStateInfo.cs
- EdgeModeValidation.cs
- SystemIPv6InterfaceProperties.cs
- PointCollection.cs
- ObfuscateAssemblyAttribute.cs
- ObjectTokenCategory.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- GradientPanel.cs
- SafeNativeMethods.cs
- CacheDependency.cs
- URI.cs
- ComponentResourceKeyConverter.cs
- TraceInternal.cs
- UnsafeNativeMethods.cs
- OdbcHandle.cs
- ButtonColumn.cs
- Int16.cs
- OdbcConnectionPoolProviderInfo.cs
- Glyph.cs
- ErrorEventArgs.cs
- SoapAttributes.cs
- DoubleKeyFrameCollection.cs
- SQLBinaryStorage.cs
- JsonFormatWriterGenerator.cs
- GeneralTransform3D.cs
- PointCollection.cs
- ToolStripRenderEventArgs.cs
- ZoneLinkButton.cs
- TransactionChannel.cs
- ChannelSinkStacks.cs
- ZoneLinkButton.cs
- PipelineModuleStepContainer.cs
- HighlightVisual.cs
- TrustLevel.cs
- HttpResponseWrapper.cs
- ExternalFile.cs
- IgnoreDeviceFilterElementCollection.cs
- ListSourceHelper.cs
- XmlDocument.cs
- WindowsEditBox.cs
- _NegoState.cs
- DataTableTypeConverter.cs
- GridEntry.cs
- ZipIOLocalFileDataDescriptor.cs
- SrgsSemanticInterpretationTag.cs
- WmpBitmapEncoder.cs
- OraclePermission.cs
- Image.cs
- ToolboxBitmapAttribute.cs
- SmtpLoginAuthenticationModule.cs
- TextElementEnumerator.cs
- TreeChangeInfo.cs
- QueryExpression.cs
- HttpAsyncResult.cs
- CredentialCache.cs
- InvalidEnumArgumentException.cs
- RetrieveVirtualItemEventArgs.cs
- BackgroundFormatInfo.cs
- SecurityException.cs
- Win32.cs
- MsmqIntegrationBinding.cs
- CodeTypeReferenceCollection.cs
- ExceptionRoutedEventArgs.cs
- Console.cs
- TimeStampChecker.cs
- ToolboxItemCollection.cs
- RoutedEventHandlerInfo.cs
- EncoderParameters.cs
- ObjectHelper.cs
- DataControlImageButton.cs
- DataGridrowEditEndingEventArgs.cs
- KeyInfo.cs
- XamlParser.cs
- Helpers.cs
- XmlSchemaCollection.cs
- Visual3DCollection.cs
- UniqueIdentifierService.cs
- ClientApiGenerator.cs
- DataGridViewToolTip.cs
- Attribute.cs
- WCFBuildProvider.cs
- HtmlUtf8RawTextWriter.cs
- propertytag.cs
- WebMethodAttribute.cs
- ResourceReader.cs