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
- DatePicker.cs
- ConfigurationManagerInternalFactory.cs
- OverflowException.cs
- XslCompiledTransform.cs
- SetMemberBinder.cs
- DataTableMappingCollection.cs
- SqlBuilder.cs
- ChangePasswordDesigner.cs
- DesignRelation.cs
- WsdlInspector.cs
- FormatterConverter.cs
- DateTimePicker.cs
- DiscoveryRequestHandler.cs
- DocumentScope.cs
- GenericPrincipal.cs
- SoapHeaderAttribute.cs
- securitycriticaldataformultiplegetandset.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- DataRelation.cs
- ExtensionQuery.cs
- Bold.cs
- GroupBox.cs
- CommandEventArgs.cs
- TextBlockAutomationPeer.cs
- InheritablePropertyChangeInfo.cs
- FormViewUpdateEventArgs.cs
- PageTheme.cs
- DbProviderFactory.cs
- MetadataPropertyCollection.cs
- PaginationProgressEventArgs.cs
- InheritanceAttribute.cs
- Vector3DValueSerializer.cs
- TypeBuilder.cs
- Annotation.cs
- HitTestResult.cs
- MergeFailedEvent.cs
- Visual3DCollection.cs
- SqlBinder.cs
- DispatcherSynchronizationContext.cs
- RegistryPermission.cs
- AVElementHelper.cs
- DeclaredTypeElementCollection.cs
- ToolStripSystemRenderer.cs
- XomlCompilerResults.cs
- MonthCalendar.cs
- NavigationHelper.cs
- ConstraintEnumerator.cs
- TypeInitializationException.cs
- ZipPackage.cs
- _HeaderInfo.cs
- TemplateControl.cs
- DependencyPropertyDescriptor.cs
- WorkflowItemsPresenter.cs
- Certificate.cs
- securestring.cs
- MergePropertyDescriptor.cs
- DataSetSchema.cs
- TextBoxAutomationPeer.cs
- CategoryAttribute.cs
- TraceContextEventArgs.cs
- DropDownList.cs
- ErrorsHelper.cs
- ModelFunctionTypeElement.cs
- GroupBox.cs
- PtsHelper.cs
- ClientFormsIdentity.cs
- CallTemplateAction.cs
- XmlSchemaImport.cs
- CompilationPass2TaskInternal.cs
- ZipIOExtraField.cs
- CodeVariableDeclarationStatement.cs
- ClientProtocol.cs
- XmlAtomicValue.cs
- WebServiceErrorEvent.cs
- RectangleHotSpot.cs
- AutoGeneratedField.cs
- WmpBitmapDecoder.cs
- SqlAggregateChecker.cs
- ProcessRequestAsyncResult.cs
- CompleteWizardStep.cs
- RayMeshGeometry3DHitTestResult.cs
- SafeThemeHandle.cs
- EnumUnknown.cs
- AnnotationService.cs
- XslAst.cs
- ScrollChrome.cs
- BinaryObjectReader.cs
- MouseEventArgs.cs
- DSASignatureDeformatter.cs
- DataObjectPastingEventArgs.cs
- CalendarDay.cs
- EventProviderWriter.cs
- RootDesignerSerializerAttribute.cs
- WbemProvider.cs
- path.cs
- MailAddress.cs
- AppSettingsReader.cs
- TableCell.cs
- MembershipValidatePasswordEventArgs.cs