CodeAccessSecurityAttribute(SecurityAction) Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van CodeAccessSecurityAttribute met de opgegeven SecurityAction.
protected:
CodeAccessSecurityAttribute(System::Security::Permissions::SecurityAction action);
public:
CodeAccessSecurityAttribute(System::Security::Permissions::SecurityAction action);
protected CodeAccessSecurityAttribute(System.Security.Permissions.SecurityAction action);
public CodeAccessSecurityAttribute(System.Security.Permissions.SecurityAction action);
new System.Security.Permissions.CodeAccessSecurityAttribute : System.Security.Permissions.SecurityAction -> System.Security.Permissions.CodeAccessSecurityAttribute
Protected Sub New (action As SecurityAction)
Public Sub New (action As SecurityAction)
Parameters
- action
- SecurityAction
Een van de SecurityAction waarden.
Opmerkingen
U kunt geen exemplaar van deze klasse maken. U moet overnemen van deze klasse om gebruik te kunnen maken van de functionaliteit ervan.
Notities voor overnemers
Afgeleide klassen mogen slechts één constructor hebben die een SecurityAction als enige parameter gebruikt.