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
- WindowsRebar.cs
- References.cs
- LinkDesigner.cs
- EntityStoreSchemaFilterEntry.cs
- ExceptionAggregator.cs
- XmlBinaryReader.cs
- ScaleTransform.cs
- SqlClientWrapperSmiStreamChars.cs
- PackWebResponse.cs
- FontSource.cs
- ViewCellSlot.cs
- ObjectDataSourceStatusEventArgs.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- AnonymousIdentificationSection.cs
- DataPager.cs
- MenuItemAutomationPeer.cs
- DetailsViewCommandEventArgs.cs
- MultiView.cs
- COM2PropertyBuilderUITypeEditor.cs
- TableHeaderCell.cs
- DependencyPropertyChangedEventArgs.cs
- SqlInternalConnectionSmi.cs
- FamilyMap.cs
- TextEditor.cs
- ListChangedEventArgs.cs
- designeractionlistschangedeventargs.cs
- UIPermission.cs
- RangeValuePattern.cs
- ErrorWebPart.cs
- PersistChildrenAttribute.cs
- PropertyFilterAttribute.cs
- ContentAlignmentEditor.cs
- NamespaceList.cs
- DataTableTypeConverter.cs
- SimplePropertyEntry.cs
- dataprotectionpermissionattribute.cs
- BinaryCommonClasses.cs
- XmlStreamStore.cs
- LoginCancelEventArgs.cs
- BindingCollection.cs
- HtmlInputRadioButton.cs
- ReadOnlyCollectionBuilder.cs
- Soap11ServerProtocol.cs
- SourceSwitch.cs
- MetafileHeaderWmf.cs
- CreateDataSourceDialog.cs
- SymmetricKeyWrap.cs
- Source.cs
- ToolStripTemplateNode.cs
- SimpleType.cs
- XmlSchemaCompilationSettings.cs
- ErrorStyle.cs
- RawTextInputReport.cs
- MsmqIntegrationSecurityMode.cs
- LongTypeConverter.cs
- ColumnWidthChangedEvent.cs
- PageRequestManager.cs
- ComboBox.cs
- TokenBasedSet.cs
- FrameAutomationPeer.cs
- XmlQueryTypeFactory.cs
- FilteredDataSetHelper.cs
- XamlGridLengthSerializer.cs
- EntityDataSourceChangingEventArgs.cs
- TextTreeRootNode.cs
- KerberosSecurityTokenProvider.cs
- VirtualizedContainerService.cs
- QueryConverter.cs
- AccessDataSource.cs
- ResourcePermissionBase.cs
- SchemaObjectWriter.cs
- PropertyStore.cs
- SessionStateItemCollection.cs
- EditorZoneBase.cs
- BindingCompleteEventArgs.cs
- HttpStreamFormatter.cs
- ShapingWorkspace.cs
- HttpProfileGroupBase.cs
- MemberMaps.cs
- CrossSiteScriptingValidation.cs
- RequestCache.cs
- QilValidationVisitor.cs
- InheritedPropertyDescriptor.cs
- DispatcherProcessingDisabled.cs
- XsdDateTime.cs
- TraceLog.cs
- SerializationBinder.cs
- TraceSection.cs
- EmptyCollection.cs
- CodeMemberEvent.cs
- ExtensionSimplifierMarkupObject.cs
- CryptoProvider.cs
- FrameworkTextComposition.cs
- Context.cs
- WindowsSlider.cs
- OdbcReferenceCollection.cs
- CharStorage.cs
- XmlSchemaAppInfo.cs
- NativeMethods.cs
- MediaContextNotificationWindow.cs