Udostępnij za pośrednictwem


ContractProxyBase<T>.Contract Property

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

Gets the contract that is used in the pipeline or throws an exception if the ContractProxyBase<T> has been disposed.

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

Syntax

'Declaration
Protected ReadOnly Property Contract As T
'Usage
Dim value As T

value = Me.Contract
protected T Contract { get; }
protected:
property T Contract {
    T get ();
}
protected function get Contract () : T

Property Value

Type: T
The contract that is used in the pipeline.

See Also

Reference

ContractProxyBase<T> Class

ContractProxyBase<T> Members

Microsoft.VisualStudio.Tools.Applications Namespace