ContractHandle.AppDomainOwner(AppDomain) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.