HostProtectionAttribute Konstruktory

Definice

Inicializuje novou instanci HostProtectionAttribute třídy.

Přetížení

HostProtectionAttribute()

Inicializuje novou instanci třídy HostProtectionAttribute s výchozími hodnotami.

HostProtectionAttribute(SecurityAction)

Inicializuje novou instanci HostProtectionAttribute třídy se zadanou SecurityAction hodnotou.

HostProtectionAttribute()

Inicializuje novou instanci třídy HostProtectionAttribute s výchozími hodnotami.

public:
 HostProtectionAttribute();
public HostProtectionAttribute ();
Public Sub New ()

Poznámky

Tento konstruktor vytvoří se HostProtectionAttribute všemi logickými vlastnostmi nastavenými na false.

Platí pro

HostProtectionAttribute(SecurityAction)

Inicializuje novou instanci HostProtectionAttribute třídy se zadanou SecurityAction hodnotou.

public:
 HostProtectionAttribute(System::Security::Permissions::SecurityAction action);
public HostProtectionAttribute (System.Security.Permissions.SecurityAction action);
new System.Security.Permissions.HostProtectionAttribute : System.Security.Permissions.SecurityAction -> System.Security.Permissions.HostProtectionAttribute
Public Sub New (action As SecurityAction)

Parametry

action
SecurityAction

Jedna z SecurityAction hodnot.

Výjimky

Poznámky

Tento konstruktor by neměl být použit. Je určená pro použití infrastruktury.

Platí pro