ContractHandle.AppDomainOwner(AppDomain) Method

Definition

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

C#
public static System.AddIn.Contract.IContract AppDomainOwner(AppDomain domain);

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

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1