_AppDomain.SetAppDomainPolicy(PolicyLevel) 方法

定义

为 COM 对象提供对 SetAppDomainPolicy(PolicyLevel) 方法的与版本无关的访问。

public:
 void SetAppDomainPolicy(System::Security::Policy::PolicyLevel ^ domainPolicy);
public void SetAppDomainPolicy (System.Security.Policy.PolicyLevel domainPolicy);
[System.Security.SecurityCritical]
public void SetAppDomainPolicy (System.Security.Policy.PolicyLevel domainPolicy);
abstract member SetAppDomainPolicy : System.Security.Policy.PolicyLevel -> unit
[<System.Security.SecurityCritical>]
abstract member SetAppDomainPolicy : System.Security.Policy.PolicyLevel -> unit
Public Sub SetAppDomainPolicy (domainPolicy As PolicyLevel)

参数

domainPolicy
PolicyLevel

安全策略级别。

属性

注解

请参见 AppDomain.SetAppDomainPolicy 方法。

适用于