ServiceController.ServiceHandle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
A SafeHandle that contains the handle for the service.
- Attributes
Exceptions
The service was not found.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.