-api-id | -api-type |
---|---|
M:Windows.Networking.Sockets.StreamSocketListener.EnableTransferOwnership(System.Guid,Windows.Networking.Sockets.SocketActivityConnectedStandbyAction) |
winrt method |
Enables your app's background task to be triggered by the socket broker when traffic for this StreamSocketListener arrives while the system is in connected standby.
The IBackgroundTaskRegistration.TaskId of the background task that will be triggered by the socket broker when traffic arrives for this StreamSocketListener.
Specifies whether to enable or disable the activation of the background task when traffic arrives.