Sdílet prostřednictvím


ICorDebugAssembly2::IsFullyTrusted Method

Gets a value that indicates whether the assembly has been granted full trust by the runtime security system.

HRESULT IsFullyTrusted(
    [out] BOOL *pbFullyTrusted
);

Parameters

  • pbFullyTrusted
    [out] true if the assembly has been granted full trust by the runtime security system; otherwise, false.

Remarks

This method returns an HRESULT of CORDBG_E_NOTREADY if the security policy for the assembly has not yet been resolved, that is, if no code in the assembly has been run yet.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugAssembly2 Interface