Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HideDisabledControlAdapter.cs
- ExpressionEvaluator.cs
- ExceptionHelpers.cs
- SplashScreen.cs
- QilName.cs
- DiscoveryMessageSequenceGenerator.cs
- QuaternionKeyFrameCollection.cs
- WrapperEqualityComparer.cs
- CompareValidator.cs
- StylusEventArgs.cs
- Image.cs
- ApplicationServiceManager.cs
- WebPartConnectionsCancelEventArgs.cs
- CharacterString.cs
- SortKey.cs
- PaintValueEventArgs.cs
- HybridDictionary.cs
- Brush.cs
- SplashScreenNativeMethods.cs
- WorkflowOperationBehavior.cs
- VisualBasicHelper.cs
- XsdDuration.cs
- ColorAnimationUsingKeyFrames.cs
- ConfigurationLocationCollection.cs
- ThreadPool.cs
- EventLogEntryCollection.cs
- WindowsFormsSynchronizationContext.cs
- CompoundFileReference.cs
- PaintEvent.cs
- compensatingcollection.cs
- UInt32.cs
- CryptoApi.cs
- SemanticBasicElement.cs
- COM2ExtendedBrowsingHandler.cs
- PrintPreviewControl.cs
- ClipboardProcessor.cs
- EntityDataSource.cs
- PreloadedPackages.cs
- Help.cs
- BoolLiteral.cs
- HttpRuntime.cs
- StreamedWorkflowDefinitionContext.cs
- Int32RectConverter.cs
- ObjectViewFactory.cs
- SqlConnection.cs
- DuplicateWaitObjectException.cs
- TextRangeEdit.cs
- MobileComponentEditorPage.cs
- AdCreatedEventArgs.cs
- DefaultTraceListener.cs
- Metadata.cs
- NamedPipeProcessProtocolHandler.cs
- TextAutomationPeer.cs
- ConfigurationProviderException.cs
- PolyLineSegmentFigureLogic.cs
- TdsParserStaticMethods.cs
- InstanceHandleReference.cs
- DocComment.cs
- SizeFConverter.cs
- LinkLabel.cs
- oledbmetadatacollectionnames.cs
- AppDomainFactory.cs
- SqlXmlStorage.cs
- DataControlField.cs
- LogLogRecordHeader.cs
- SR.cs
- IconConverter.cs
- XmlDeclaration.cs
- AuthenticationConfig.cs
- DrawingServices.cs
- CheckBoxPopupAdapter.cs
- List.cs
- ThemeConfigurationDialog.cs
- ToggleProviderWrapper.cs
- EventDescriptor.cs
- DataContractJsonSerializer.cs
- DetailsViewPagerRow.cs
- PageContentCollection.cs
- SettingsPropertyValueCollection.cs
- FixedDocument.cs
- Int32.cs
- SystemWebSectionGroup.cs
- FontStretchConverter.cs
- BitmapFrame.cs
- TraceAsyncResult.cs
- StandardRuntimeEnumValidator.cs
- FileUtil.cs
- PersonalizationStateQuery.cs
- ValueUtilsSmi.cs
- SchemaTypeEmitter.cs
- RelationshipEnd.cs
- ParameterCollection.cs
- ListContractAdapter.cs
- IDReferencePropertyAttribute.cs
- EpmTargetPathSegment.cs
- Stylesheet.cs
- Metafile.cs
- GcHandle.cs
- ParseHttpDate.cs
- DrawingContextWalker.cs