Udostępnij za pośrednictwem


ContractNotSupportedException Class

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

The exception that is thrown when an object does not support a required contract.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ContractNotSupportedException _
    Inherits NotSupportedException
'Usage
Dim instance As ContractNotSupportedException
[SerializableAttribute]
public sealed class ContractNotSupportedException : NotSupportedException
[SerializableAttribute]
public ref class ContractNotSupportedException sealed : public NotSupportedException
public final class ContractNotSupportedException extends NotSupportedException

Inheritance Hierarchy

System.Object
  System.Exception
    System.SystemException
      System.NotSupportedException
        Microsoft.VisualStudio.Tools.Applications.ContractNotSupportedException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ContractNotSupportedException Members

Microsoft.VisualStudio.Tools.Applications Namespace