Edit

Share via


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

The contract to check.

___domain
AppDomain

The application ___domain to check.

Returns

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

Exceptions

contract or ___domain is null.

Applies to