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
- DataControlPagerLinkButton.cs
- SpotLight.cs
- ContextMenuService.cs
- CommonDialog.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- BlobPersonalizationState.cs
- SingleKeyFrameCollection.cs
- TreeViewBindingsEditorForm.cs
- OutputCacheProfile.cs
- PersistChildrenAttribute.cs
- ScopedMessagePartSpecification.cs
- DataViewManager.cs
- Rights.cs
- PerformanceCounter.cs
- ColorConverter.cs
- SpellerInterop.cs
- EllipticalNodeOperations.cs
- GridViewUpdatedEventArgs.cs
- nulltextnavigator.cs
- IntellisenseTextBox.cs
- ColorTranslator.cs
- XslException.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- ReadWriteObjectLock.cs
- SoapSchemaMember.cs
- CrossSiteScriptingValidation.cs
- BoundsDrawingContextWalker.cs
- SafeNativeMethodsCLR.cs
- WMIInterop.cs
- TemplateManager.cs
- StrokeRenderer.cs
- StylusOverProperty.cs
- SqlRowUpdatingEvent.cs
- SafeMemoryMappedViewHandle.cs
- NativeMethods.cs
- PassportPrincipal.cs
- UnmanagedMemoryStreamWrapper.cs
- DataTable.cs
- SqlGenerator.cs
- dbenumerator.cs
- OracleParameterBinding.cs
- Matrix3D.cs
- InputScopeManager.cs
- graph.cs
- SystemNetworkInterface.cs
- QueryPageSettingsEventArgs.cs
- DynamicEntity.cs
- GiveFeedbackEvent.cs
- KeyGesture.cs
- UpdateManifestForBrowserApplication.cs
- PenLineCapValidation.cs
- QueueException.cs
- ThreadPool.cs
- AppDomainManager.cs
- ParentUndoUnit.cs
- IsolatedStoragePermission.cs
- NodeInfo.cs
- ConfigurationManager.cs
- XmlObjectSerializerWriteContext.cs
- CommandPlan.cs
- infer.cs
- DataControlPagerLinkButton.cs
- HwndAppCommandInputProvider.cs
- SecurityUniqueId.cs
- DesignerSerializationVisibilityAttribute.cs
- RegexTree.cs
- TemplatePartAttribute.cs
- OracleBoolean.cs
- DataTableTypeConverter.cs
- MediaTimeline.cs
- _NegotiateClient.cs
- WindowsIdentity.cs
- MemberRelationshipService.cs
- ConnectionsZone.cs
- sqlser.cs
- TargetConverter.cs
- FixedDSBuilder.cs
- KeyEventArgs.cs
- HtmlElementCollection.cs
- PackageFilter.cs
- CapabilitiesSection.cs
- XmlAttributes.cs
- StatusBarAutomationPeer.cs
- InteropExecutor.cs
- TextServicesLoader.cs
- DynamicMethod.cs
- DispatchChannelSink.cs
- FileLevelControlBuilderAttribute.cs
- MarkupCompilePass1.cs
- Timer.cs
- IUnknownConstantAttribute.cs
- FunctionQuery.cs
- XmlSchemaRedefine.cs
- TypeToTreeConverter.cs
- MutableAssemblyCacheEntry.cs
- XmlImplementation.cs
- ProgressChangedEventArgs.cs
- Variable.cs
- EncoderBestFitFallback.cs
- TreeViewImageKeyConverter.cs