-api-id | -api-type |
---|---|
M:Windows.Networking.Sockets.StreamSocket.EnableTransferOwnership(System.Guid) |
winrt method |
Enables your app's background task to be triggered by the socket broker when traffic for this StreamSocket arrives while the app is not active.
The IBackgroundTaskRegistration.TaskId of the background task that will be triggered by the socket broker when traffic arrives for this StreamSocket.
For info about error conditions, see the Remarks section for EnableTransferOwnership(Guid, SocketActivityConnectedStandbyAction).
EnableTransferOwnership(Guid, SocketActivityConnectedStandbyAction)