Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DataList.cs
- hwndwrapper.cs
- WorkItem.cs
- indexingfiltermarshaler.cs
- EncoderExceptionFallback.cs
- ReverseQueryOperator.cs
- PropertyIDSet.cs
- SafeCryptoKeyHandle.cs
- WebEventTraceProvider.cs
- Style.cs
- AsyncPostBackErrorEventArgs.cs
- Single.cs
- ObjectHandle.cs
- PresentationAppDomainManager.cs
- Rotation3DAnimationBase.cs
- ResourceAssociationType.cs
- KeyManager.cs
- WasNotInstalledException.cs
- SslStream.cs
- BufferModesCollection.cs
- GZipDecoder.cs
- WebPartZoneBase.cs
- SiteMapHierarchicalDataSourceView.cs
- TextPenaltyModule.cs
- SocketInformation.cs
- TextLine.cs
- AffineTransform3D.cs
- ChannelServices.cs
- CharacterBuffer.cs
- Label.cs
- AuthorizationRule.cs
- NavigationFailedEventArgs.cs
- URLAttribute.cs
- ByeOperationAsyncResult.cs
- InputReferenceExpression.cs
- Point3DCollectionValueSerializer.cs
- FormatConvertedBitmap.cs
- SymDocumentType.cs
- _TLSstream.cs
- _SecureChannel.cs
- RectangleConverter.cs
- Duration.cs
- PanelDesigner.cs
- ScrollChrome.cs
- IdleTimeoutMonitor.cs
- RemoteWebConfigurationHostServer.cs
- Random.cs
- WebDisplayNameAttribute.cs
- X509ServiceCertificateAuthentication.cs
- Win32KeyboardDevice.cs
- _HeaderInfo.cs
- FixUp.cs
- ActivityAction.cs
- CodeStatementCollection.cs
- StreamUpdate.cs
- Int32RectValueSerializer.cs
- XmlSchemaObject.cs
- VisualTreeUtils.cs
- AddInProcess.cs
- WindowExtensionMethods.cs
- dbdatarecord.cs
- ClassHandlersStore.cs
- DataListItem.cs
- SqlReorderer.cs
- DataGridViewRowEventArgs.cs
- httpserverutility.cs
- ObjectDataSourceSelectingEventArgs.cs
- Int64AnimationBase.cs
- UpdatePanel.cs
- CheckBoxField.cs
- LiteralControl.cs
- ExpandSegmentCollection.cs
- SoapReflectionImporter.cs
- TreeView.cs
- FormsAuthentication.cs
- ItemsChangedEventArgs.cs
- AutoResizedEvent.cs
- FixedSOMElement.cs
- ScriptingProfileServiceSection.cs
- Label.cs
- SmtpClient.cs
- WinFormsComponentEditor.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- UInt16Storage.cs
- RegexGroupCollection.cs
- LineServices.cs
- ObjectListDesigner.cs
- StringKeyFrameCollection.cs
- DebugInfoExpression.cs
- ExcludePathInfo.cs
- ExtensionSimplifierMarkupObject.cs
- SmiContext.cs
- EFAssociationProvider.cs
- ThemeInfoAttribute.cs
- SendParametersContent.cs
- CheckedListBox.cs
- CachedFontFamily.cs
- RsaKeyIdentifierClause.cs
- InputLangChangeRequestEvent.cs
- ItemMap.cs