ServiceControllerPermissionAttribute(SecurityAction) Constructor

Definición

Inicializa una nueva instancia de la clase ServiceControllerPermissionAttribute.Initializes a new instance of the ServiceControllerPermissionAttribute class.

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

Uno de los valores de SecurityAction.One of the SecurityAction values.

Se aplica a

Consulte también: