Partager via


ServiceController.ServiceHandle Propriété

Définition

Obtient le handle du 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

Valeur de propriété

SafeHandle

SafeHandle qui contient le handle du service.

Attributs

Exceptions

Le service est introuvable.

S’applique à