Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayRankMismatchException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- BeginSelectCardRequest.cs
- ExpressionLexer.cs
- DynamicDataRouteHandler.cs
- BooleanFacetDescriptionElement.cs
- SQLString.cs
- DbXmlEnabledProviderManifest.cs
- Reference.cs
- StreamWriter.cs
- RestClientProxyHandler.cs
- NameValueCollection.cs
- ellipse.cs
- ReferencedCollectionType.cs
- PipeException.cs
- TreeNodeBindingCollection.cs
- ParameterDataSourceExpression.cs
- WindowsGraphicsWrapper.cs
- NumberFormatter.cs
- FontStyleConverter.cs
- ObjectQuery_EntitySqlExtensions.cs
- ToolStripGripRenderEventArgs.cs
- UnaryExpression.cs
- MSHTMLHost.cs
- MulticastOption.cs
- DeflateStream.cs
- ArrayList.cs
- TableLayoutPanel.cs
- OleDbWrapper.cs
- GetPageNumberCompletedEventArgs.cs
- ToolStripScrollButton.cs
- LexicalChunk.cs
- FloaterParagraph.cs
- _ProxyChain.cs
- ImportCatalogPart.cs
- ToolStripDropDownClosingEventArgs.cs
- SerialPort.cs
- MenuItemBindingCollection.cs
- JournalEntryStack.cs
- RepeatBehaviorConverter.cs
- XmlSchemaProviderAttribute.cs
- MailAddressParser.cs
- BrushProxy.cs
- CopyOnWriteList.cs
- StrongNameUtility.cs
- DATA_BLOB.cs
- DataGridViewColumn.cs
- HttpStaticObjectsCollectionBase.cs
- Window.cs
- DomainUpDown.cs
- CheckedPointers.cs
- ReadOnlyMetadataCollection.cs
- PtsPage.cs
- __ConsoleStream.cs
- assemblycache.cs
- WindowsUpDown.cs
- WsdlInspector.cs
- SystemIcmpV4Statistics.cs
- Compiler.cs
- AutomationFocusChangedEventArgs.cs
- BuiltInExpr.cs
- RegisteredArrayDeclaration.cs
- WebException.cs
- RegexGroupCollection.cs
- X509SecurityToken.cs
- Parser.cs
- OleDbParameter.cs
- ValidationSettings.cs
- XmlQueryRuntime.cs
- Deserializer.cs
- GridViewHeaderRowPresenter.cs
- FontStyleConverter.cs
- DeclarationUpdate.cs
- RelationshipFixer.cs
- Stack.cs
- XmlStringTable.cs
- SqlColumnizer.cs
- AsymmetricAlgorithm.cs
- OleDbPropertySetGuid.cs
- VBIdentifierNameEditor.cs
- HttpClientCertificate.cs
- CapabilitiesUse.cs
- RepeaterItem.cs
- PassportAuthentication.cs
- EraserBehavior.cs
- RegexBoyerMoore.cs
- TextEditorLists.cs
- WmlSelectionListAdapter.cs
- OptionalRstParameters.cs
- TraceUtility.cs
- WebConfigurationFileMap.cs
- TemplateXamlParser.cs
- ShaperBuffers.cs
- CompressStream.cs
- ItemDragEvent.cs
- RepeaterItemEventArgs.cs
- itemelement.cs
- sqlinternaltransaction.cs
- XmlHierarchicalEnumerable.cs
- Logging.cs
- TabPanel.cs
- RelationshipType.cs