Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DuplicateMessageDetector.cs
- WorkflowWebHostingModule.cs
- DBNull.cs
- EventLogLink.cs
- FileVersionInfo.cs
- listitem.cs
- MimeTypeAttribute.cs
- FrameworkElementFactoryMarkupObject.cs
- ObfuscationAttribute.cs
- CuspData.cs
- Empty.cs
- QilScopedVisitor.cs
- DefaultProfileManager.cs
- Version.cs
- KeyGesture.cs
- DataServicePagingProviderWrapper.cs
- SocketInformation.cs
- DecimalConverter.cs
- HtmlSelect.cs
- Span.cs
- PrivilegeNotHeldException.cs
- DataControlFieldCollection.cs
- XmlQueryStaticData.cs
- Int16KeyFrameCollection.cs
- ContainsRowNumberChecker.cs
- PseudoWebRequest.cs
- QueryReaderSettings.cs
- ToolboxItem.cs
- Tablet.cs
- EntityDataReader.cs
- SessionPageStateSection.cs
- XmlDataSourceView.cs
- QilList.cs
- AccessorTable.cs
- ChildrenQuery.cs
- ConfigurationManagerHelper.cs
- JapaneseCalendar.cs
- PartialList.cs
- WorkflowValidationFailedException.cs
- PageSettings.cs
- SapiRecoInterop.cs
- UnmanagedHandle.cs
- _CookieModule.cs
- SeverityFilter.cs
- RequestCacheValidator.cs
- DataGridColumnsPage.cs
- ConnectionInterfaceCollection.cs
- TransformedBitmap.cs
- RichTextBoxConstants.cs
- CompressStream.cs
- MemberHolder.cs
- XmlWriter.cs
- UnknownBitmapEncoder.cs
- LinkDescriptor.cs
- RoutedEventValueSerializer.cs
- PrePrepareMethodAttribute.cs
- CapabilitiesSection.cs
- InkCanvasAutomationPeer.cs
- SemanticBasicElement.cs
- EventLogPermissionHolder.cs
- ListViewContainer.cs
- DetailsViewCommandEventArgs.cs
- EventManager.cs
- InputLangChangeRequestEvent.cs
- SafeNativeMethods.cs
- StackSpiller.Temps.cs
- oledbmetadatacollectionnames.cs
- CompModSwitches.cs
- EnumerationRangeValidationUtil.cs
- TransactionalPackage.cs
- ProviderBase.cs
- _AcceptOverlappedAsyncResult.cs
- X509ChainElement.cs
- UITypeEditors.cs
- Literal.cs
- IntSecurity.cs
- PointCollectionValueSerializer.cs
- DataGrid.cs
- InkPresenter.cs
- EntityDataSourceViewSchema.cs
- SqlBulkCopy.cs
- ObjectSet.cs
- ErrorFormatterPage.cs
- ModuleConfigurationInfo.cs
- DBCSCodePageEncoding.cs
- TripleDES.cs
- AddInBase.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- ContextBase.cs
- CustomAttributeFormatException.cs
- NameScopePropertyAttribute.cs
- VectorAnimationUsingKeyFrames.cs
- InputLanguageCollection.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- EntityContainer.cs
- EntitySet.cs
- GestureRecognitionResult.cs
- TreeViewAutomationPeer.cs
- TaskDesigner.cs
- AppManager.cs