ContractHandle.ContractOwnsAppDomain(IContract, 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.
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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.