Edit

Share via


ContractHandle.AppDomainOwner(AppDomain) Method

Definition

Gets the instance of the add-in-side adapter when the application ___domain was created.

public:
 static System::AddIn::Contract::IContract ^ AppDomainOwner(AppDomain ^ ___domain);
public static System.AddIn.Contract.IContract AppDomainOwner(AppDomain ___domain);
static member AppDomainOwner : AppDomain -> System.AddIn.Contract.IContract
Public Shared Function AppDomainOwner (___domain As AppDomain) As IContract

Parameters

___domain
AppDomain

The application ___domain to check.

Returns

An IContract object that represents the owner of the application ___domain.

Exceptions

___domain is null.

Remarks

The add-in-side adapters are typed as IContract.

If the application ___domain was previously created by a user, there is no owner.

Applies to