Compartilhar via


ActivationFactory::GetTrustLevel Method

Gets the trust level of the object that the current ActivationFactory instantiates.

STDMETHOD(
   GetTrustLevel
)(_Out_ TrustLevel* trustLvl);

Parameters

  • trustLvl
    When this operation completes, the trust level of the runtime class that the ActivationFactory instantiates.

Return Value

S_OK if successful; otherwise, an assertion error is emitted and trustLvl is set to FullTrust.

Requirements

Header: module.h

Namespace: Microsoft::WRL

See Also

Reference

ActivationFactory Class