共用方式為


_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 方法。

適用於