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
- RequestTimeoutManager.cs
- UniformGrid.cs
- SmiEventStream.cs
- SoapFormatterSinks.cs
- TextMarkerSource.cs
- RotationValidation.cs
- PlaceHolder.cs
- EventItfInfo.cs
- EntityViewGenerationAttribute.cs
- FormatterServices.cs
- MgmtResManager.cs
- WebPartDisplayModeCollection.cs
- PointLight.cs
- PathGradientBrush.cs
- Model3D.cs
- GraphicsContainer.cs
- XPathCompileException.cs
- TimeoutHelper.cs
- JsonReaderWriterFactory.cs
- PackUriHelper.cs
- DataServiceQueryOfT.cs
- XmlAttributeProperties.cs
- ToolStripItemBehavior.cs
- WebPartsPersonalization.cs
- XNameConverter.cs
- ProjectionRewriter.cs
- ListManagerBindingsCollection.cs
- XmlSchemaComplexType.cs
- NamedPermissionSet.cs
- PrintController.cs
- ErrorWrapper.cs
- DependentTransaction.cs
- GridViewPageEventArgs.cs
- Margins.cs
- TrustLevelCollection.cs
- linebase.cs
- __TransparentProxy.cs
- SplashScreen.cs
- WebBrowserUriTypeConverter.cs
- ConfigViewGenerator.cs
- HtmlLink.cs
- OdbcUtils.cs
- ToolStrip.cs
- BuildResult.cs
- SecurityDescriptor.cs
- TriggerBase.cs
- ScrollViewer.cs
- ToolCreatedEventArgs.cs
- RestHandlerFactory.cs
- ListViewDeletedEventArgs.cs
- SparseMemoryStream.cs
- PropertyMetadata.cs
- TagMapCollection.cs
- SQLRoleProvider.cs
- WebPartEditorCancelVerb.cs
- ClosureBinding.cs
- MissingMethodException.cs
- PenCursorManager.cs
- UserNamePasswordClientCredential.cs
- AddInActivator.cs
- WorkflowClientDeliverMessageWrapper.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ProfileInfo.cs
- Material.cs
- SimplePropertyEntry.cs
- XmlObjectSerializerReadContext.cs
- translator.cs
- DataServiceQueryProvider.cs
- InternalConfigRoot.cs
- MenuItemStyle.cs
- X509CertificateTokenFactoryCredential.cs
- DayRenderEvent.cs
- PointHitTestParameters.cs
- StatusStrip.cs
- DataStreamFromComStream.cs
- AsyncStreamReader.cs
- FrameDimension.cs
- TrimSurroundingWhitespaceAttribute.cs
- RawKeyboardInputReport.cs
- XmlElementElementCollection.cs
- SafeNativeMethodsMilCoreApi.cs
- ViewCellSlot.cs
- DataServiceStreamResponse.cs
- MediaScriptCommandRoutedEventArgs.cs
- ErrorWrapper.cs
- TextBoxBase.cs
- ItemDragEvent.cs
- SynchronizedInputProviderWrapper.cs
- DecoderReplacementFallback.cs
- VisualTreeHelper.cs
- TableCellsCollectionEditor.cs
- SimpleTypeResolver.cs
- NamespaceQuery.cs
- EdmSchemaAttribute.cs
- CodeAttachEventStatement.cs
- DataGridToolTip.cs
- Aggregates.cs
- ModifierKeysConverter.cs
- VectorAnimationBase.cs
- DockPattern.cs