ServiceBase.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 service control handle for the service.
protected:
property IntPtr ServiceHandle { IntPtr get(); };
protected IntPtr ServiceHandle { get; }
member this.ServiceHandle : nativeint
Protected ReadOnly Property ServiceHandle As IntPtr
Property Value
IntPtr
nativeint
An IntPtr structure that contains the service control handle for the service.
Remarks
The service control handle is used to communicate with the Service Control Manager (SCM). The handle can be used to update the service control manager's status information for the calling service using the unmanaged SetServiceStatus
function.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.