Compartilhar via


ServiceControllerPermissionAttribute(SecurityAction) Construtor

Definição

Inicializa uma nova instância da classe ServiceControllerPermissionAttribute.

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

Parâmetros

action
SecurityAction

Um dos valores de SecurityAction.

Aplica-se a

Confira também