_AppDomain.SetPrincipalPolicy(PrincipalPolicy) Methode

Definition

Stellt einen versionsunabhängigen Zugriff auf die SetPrincipalPolicy(PrincipalPolicy)-Methode für COM-Objekte bereit.Provides COM objects with version-independent access to the SetPrincipalPolicy(PrincipalPolicy) method.

public:
 void SetPrincipalPolicy(System::Security::Principal::PrincipalPolicy policy);
public void SetPrincipalPolicy (System.Security.Principal.PrincipalPolicy policy);
abstract member SetPrincipalPolicy : System.Security.Principal.PrincipalPolicy -> unit
Public Sub SetPrincipalPolicy (policy As PrincipalPolicy)

Parameter

policy
PrincipalPolicy

Einer der PrincipalPolicy-Werte, die den Typ des Prinzipalobjekts angeben, das an Threads angefügt werden soll.One of the PrincipalPolicy values that specifies the type of the principal object to attach to threads.

Hinweise

Siehe die AppDomain.SetPrincipalPolicy -Methode.See the AppDomain.SetPrincipalPolicy method.

Gilt für: