ServiceControllerPermissionEntry Classe

Definição

Define a menor unidade de uma permissão de segurança de acesso do código definida para um ServiceController.Defines the smallest unit of a code access security permission that is set for a ServiceController.

public ref class ServiceControllerPermissionEntry
public class ServiceControllerPermissionEntry
[System.Serializable]
public class ServiceControllerPermissionEntry
type ServiceControllerPermissionEntry = class
[<System.Serializable>]
type ServiceControllerPermissionEntry = class
Public Class ServiceControllerPermissionEntry
Herança
ServiceControllerPermissionEntry
Atributos

Comentários

Para obter mais informações sobre a segurança de acesso do código, consulte segurança de acesso ao código.For more information on code access security, see Code Access Security.

Construtores

ServiceControllerPermissionEntry()

Inicializa uma nova instância da classe ServiceControllerPermissionEntry.Initializes a new instance of the ServiceControllerPermissionEntry class.

ServiceControllerPermissionEntry(ServiceControllerPermissionAccess, String, String)

Inicializa uma nova instância da classe ServiceControllerPermissionEntry com os níveis de acesso de permissões especificados, o nome do computador e um nome curto que identifica o serviço.Initializes a new instance of the ServiceControllerPermissionEntry class with the specified permission access levels, the name of the computer, and a short name that identifies the service.

Propriedades

MachineName

Obtém o nome do computador no qual o serviço reside.Gets the name of the computer on which the service resides.

PermissionAccess

Obtém os níveis de acesso usados na solicitação de permissões.Gets the access levels used in the permissions request.

ServiceName

Obtém o nome curto que identifica o serviço para o sistema.Gets the short name that identifies the service to the system.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a

Confira também