ServiceController.ServiceHandle Propriedade
Definição
Obtém o identificador do serviço.Gets the handle for the service.
public:
property System::Runtime::InteropServices::SafeHandle ^ ServiceHandle { System::Runtime::InteropServices::SafeHandle ^ get(); };
public System.Runtime.InteropServices.SafeHandle ServiceHandle { get; }
[System.ComponentModel.Browsable(false)]
public System.Runtime.InteropServices.SafeHandle ServiceHandle { get; }
member this.ServiceHandle : System.Runtime.InteropServices.SafeHandle
[<System.ComponentModel.Browsable(false)>]
member this.ServiceHandle : System.Runtime.InteropServices.SafeHandle
Public ReadOnly Property ServiceHandle As SafeHandle
Valor da propriedade
Um SafeHandle que contém o identificador do serviço.A SafeHandle that contains the handle for the service.
- Atributos
Exceções
O serviço não foi encontrado.The service was not found.