Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Defines the methods that a shutdown callback object must implement.
IAgentTransportShutdownCallback : public IUnknown
Methods
Method |
Description |
|---|---|
Gives device-side agents a chance to perform clean up and exit. |
Remarks
A device agent is useful as long as conmanclient2.exe is running on the device. When conmanclient2.exe is shutdown, all device agents are also shutdown. A device agent can request to receive shutdown notification to perform cleanup and exit gracefully. In order to receive shutdown notification, the device agent must define a class that implements this interface and then register it using IDeviceAgentTransport::RegisterShutdownCallback.
Example
The following example defines a custom implementation of this interface. For the complete example, see IDeviceAgentTransport.
Managed Equivalent
Microsoft.SmartDevice.DeviceAgentTransport..::.IAgentTransportShutdownCallback
Requirements
DeviceAgentTransport.h