Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HtmlInputCheckBox.cs
- SpStreamWrapper.cs
- ImportContext.cs
- WorkflowShape.cs
- ComPlusTypeValidator.cs
- XmlSerializer.cs
- CapabilitiesSection.cs
- CodeDefaultValueExpression.cs
- Padding.cs
- CompilationLock.cs
- DataBinder.cs
- MimeFormImporter.cs
- XPathPatternBuilder.cs
- CursorInteropHelper.cs
- ProvidersHelper.cs
- IProvider.cs
- InplaceBitmapMetadataWriter.cs
- MappingMetadataHelper.cs
- VectorCollection.cs
- GradientSpreadMethodValidation.cs
- XPathParser.cs
- HandledEventArgs.cs
- XmlWrappingReader.cs
- PrefixQName.cs
- Panel.cs
- InitializationEventAttribute.cs
- ObservableCollection.cs
- CustomAttributeSerializer.cs
- ServiceBusyException.cs
- DiscreteKeyFrames.cs
- ParentControlDesigner.cs
- XmlNode.cs
- ExtentJoinTreeNode.cs
- SpellerHighlightLayer.cs
- DataGrid.cs
- SystemSounds.cs
- AppDomainManager.cs
- OptimalTextSource.cs
- DataKeyCollection.cs
- CmsInterop.cs
- ObjectListShowCommandsEventArgs.cs
- DictionarySectionHandler.cs
- CertificateElement.cs
- XmlSchemaSimpleContentRestriction.cs
- SelectionProviderWrapper.cs
- Section.cs
- PrintController.cs
- ValueExpressions.cs
- XPathParser.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- XmlWriter.cs
- PropertyBuilder.cs
- EdmProperty.cs
- XmlTextReaderImplHelpers.cs
- GlobalizationAssembly.cs
- MD5.cs
- HwndSourceParameters.cs
- ToolBarOverflowPanel.cs
- SafeBuffer.cs
- SerializationException.cs
- ListView.cs
- AutomationFocusChangedEventArgs.cs
- GACMembershipCondition.cs
- ExcCanonicalXml.cs
- StickyNote.cs
- Decimal.cs
- ApplicationBuildProvider.cs
- CodeArrayIndexerExpression.cs
- XamlClipboardData.cs
- WindowsScroll.cs
- DbException.cs
- XamlInterfaces.cs
- EntityDataSourceView.cs
- ResXResourceReader.cs
- MethodRental.cs
- RegistrationServices.cs
- SrgsElementFactory.cs
- ExitEventArgs.cs
- DetailsViewRow.cs
- ContextActivityUtils.cs
- TextDpi.cs
- TreeViewImageKeyConverter.cs
- PtsHost.cs
- SQLStringStorage.cs
- MailDefinition.cs
- CorePropertiesFilter.cs
- FullTrustAssembly.cs
- SqlCommandBuilder.cs
- _LoggingObject.cs
- BaseProcessor.cs
- DbConnectionInternal.cs
- HealthMonitoringSectionHelper.cs
- _BasicClient.cs
- PropertySegmentSerializationProvider.cs
- CollectionType.cs
- GeneralTransform3DGroup.cs
- InvalidCastException.cs
- CodeRegionDirective.cs
- DesignerHierarchicalDataSourceView.cs
- Selection.cs