Editar

Partilhar via


ServiceControllerPermissionAttribute(SecurityAction) Constructor

Definition

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)

Parameters

action
SecurityAction

One of the SecurityAction values.

Applies to

See also