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
- HttpTransportManager.cs
- X509SecurityToken.cs
- NullableBoolConverter.cs
- PersonalizationStateQuery.cs
- FixedSOMTable.cs
- XsdBuildProvider.cs
- BoundField.cs
- Panel.cs
- _LoggingObject.cs
- ColumnProvider.cs
- MultilineStringConverter.cs
- ValidationEventArgs.cs
- DelegatedStream.cs
- GridView.cs
- RequestResponse.cs
- ToolStripItemClickedEventArgs.cs
- ThreadAbortException.cs
- PointKeyFrameCollection.cs
- GifBitmapDecoder.cs
- CursorConverter.cs
- PersonalizationProviderHelper.cs
- Util.cs
- UnicastIPAddressInformationCollection.cs
- DetailsViewRow.cs
- OracleParameterBinding.cs
- SvcMapFileSerializer.cs
- UncommonField.cs
- BooleanConverter.cs
- MemberBinding.cs
- FormatSettings.cs
- ConfigurationStrings.cs
- ParserHooks.cs
- DataKey.cs
- BooleanProjectedSlot.cs
- ObjectIDGenerator.cs
- DataStorage.cs
- GeneralTransform3DGroup.cs
- IsolatedStorageFileStream.cs
- RegexBoyerMoore.cs
- RenameRuleObjectDialog.cs
- SystemTcpConnection.cs
- RepeatInfo.cs
- IdnMapping.cs
- XmlSchemaAny.cs
- SoapAttributes.cs
- WebConfigurationFileMap.cs
- ColorConvertedBitmap.cs
- IisTraceListener.cs
- OutOfProcStateClientManager.cs
- DataGridViewCellValueEventArgs.cs
- ObjectComplexPropertyMapping.cs
- CustomError.cs
- ToolStripMenuItem.cs
- PeerCredentialElement.cs
- ResXBuildProvider.cs
- View.cs
- LinqDataSource.cs
- EmptyReadOnlyDictionaryInternal.cs
- ImportDesigner.xaml.cs
- ToolStripItemTextRenderEventArgs.cs
- EndPoint.cs
- MonitoringDescriptionAttribute.cs
- ResourceSet.cs
- PTUtility.cs
- XmlSecureResolver.cs
- TextModifier.cs
- Rect3D.cs
- PrintingPermissionAttribute.cs
- NativeMethods.cs
- MatrixValueSerializer.cs
- UInt32Storage.cs
- DataBoundControlAdapter.cs
- future.cs
- VisualStyleElement.cs
- ActionNotSupportedException.cs
- HashCodeCombiner.cs
- RequiredArgumentAttribute.cs
- XmlNullResolver.cs
- FileDialogCustomPlace.cs
- IndexerNameAttribute.cs
- QueryGeneratorBase.cs
- AttributeTableBuilder.cs
- UInt32Converter.cs
- StructuredTypeInfo.cs
- OracleBFile.cs
- OdbcError.cs
- ChildDocumentBlock.cs
- Decimal.cs
- GetWinFXPath.cs
- DeploymentSectionCache.cs
- CodeGroup.cs
- SchemaImporterExtension.cs
- XamlSerializationHelper.cs
- DataSourceHelper.cs
- OdbcErrorCollection.cs
- EdgeModeValidation.cs
- UTF8Encoding.cs
- WindowsAltTab.cs
- DecoderExceptionFallback.cs
- GridViewEditEventArgs.cs