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
- HttpProcessUtility.cs
- EmptyElement.cs
- OutputCacheModule.cs
- ExtentKey.cs
- WebBrowserHelper.cs
- SqlTypeSystemProvider.cs
- MD5HashHelper.cs
- InvalidCastException.cs
- RegexMatch.cs
- GridViewAutomationPeer.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- PenContext.cs
- ClientScriptManagerWrapper.cs
- CultureInfo.cs
- QilTypeChecker.cs
- HttpStreamMessage.cs
- ToolStripSystemRenderer.cs
- Rfc2898DeriveBytes.cs
- TableLayoutPanelCellPosition.cs
- dsa.cs
- documentsequencetextview.cs
- TransformerInfoCollection.cs
- Control.cs
- VisemeEventArgs.cs
- Path.cs
- DesignerOptionService.cs
- ManualResetEvent.cs
- DateTimeFormatInfoScanner.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- AsynchronousChannelMergeEnumerator.cs
- AuthenticateEventArgs.cs
- Memoizer.cs
- CroppedBitmap.cs
- InstanceOwner.cs
- ScriptMethodAttribute.cs
- PersistenceException.cs
- NumberFunctions.cs
- EntityTypeEmitter.cs
- SiteMapNodeCollection.cs
- Calendar.cs
- PartitionerQueryOperator.cs
- ContentElement.cs
- LinqDataSourceDisposeEventArgs.cs
- Preprocessor.cs
- FlowPosition.cs
- IssuedTokenClientCredential.cs
- ExpandedProjectionNode.cs
- X509ThumbprintKeyIdentifierClause.cs
- VirtualDirectoryMapping.cs
- SystemTcpConnection.cs
- DesignBindingEditor.cs
- SmtpFailedRecipientException.cs
- HtmlProps.cs
- cache.cs
- WebPermission.cs
- DataChangedEventManager.cs
- IssuanceTokenProviderState.cs
- ExceptionList.cs
- SourceCollection.cs
- TransportationConfigurationTypeInstallComponent.cs
- LiteralTextContainerControlBuilder.cs
- SafeFileMapViewHandle.cs
- RequiredFieldValidator.cs
- HtmlTextBoxAdapter.cs
- RoutingConfiguration.cs
- SqlDataSourceCommandEventArgs.cs
- MetadataItem.cs
- Classification.cs
- webclient.cs
- _HeaderInfoTable.cs
- Grant.cs
- MessageRpc.cs
- TextComposition.cs
- ConfigurationSectionHelper.cs
- DataGridViewCellStyle.cs
- WebServiceParameterData.cs
- LinearQuaternionKeyFrame.cs
- CodeMemberField.cs
- ContractInstanceProvider.cs
- BitmapImage.cs
- HtmlInputText.cs
- ColumnClickEvent.cs
- WebPartZoneCollection.cs
- BinaryMessageEncodingBindingElement.cs
- EncodedStreamFactory.cs
- ActivityExecutorDelegateInfo.cs
- LookupNode.cs
- CheckBox.cs
- StringExpressionSet.cs
- FontNamesConverter.cs
- MediaContextNotificationWindow.cs
- ThreadAbortException.cs
- ReflectionUtil.cs
- AttributeCollection.cs
- TraceInternal.cs
- HighlightVisual.cs
- ProgressBarAutomationPeer.cs
- SqlSelectStatement.cs
- Int32.cs