ContractHandle.ContractOwnsAppDomain(IContract, AppDomain) ContractHandle.ContractOwnsAppDomain(IContract, AppDomain) ContractHandle.ContractOwnsAppDomain(IContract, AppDomain) ContractHandle.ContractOwnsAppDomain(IContract, AppDomain) Method

Definition

Determines whether an application domain is owned by the specified contract.

public:
 static bool ContractOwnsAppDomain(System::AddIn::Contract::IContract ^ contract, AppDomain ^ domain);
public static bool ContractOwnsAppDomain (System.AddIn.Contract.IContract contract, AppDomain domain);
static member ContractOwnsAppDomain : System.AddIn.Contract.IContract * AppDomain -> bool
Public Shared Function ContractOwnsAppDomain (contract As IContract, domain As AppDomain) As Boolean

Parameters

contract
IContract IContract IContract IContract

The contract to check.

domain
AppDomain AppDomain AppDomain AppDomain

The application domain to check.

Returns

true if the contract owns the application domain; otherwise, false.

Exceptions

Applies to