Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.06 KB

streamsocket_enabletransferownership_102493121.md

File metadata and controls

29 lines (18 loc) · 1.06 KB
-api-id -api-type
M:Windows.Networking.Sockets.StreamSocket.EnableTransferOwnership(System.Guid)
winrt method

Windows.Networking.Sockets.StreamSocket.EnableTransferOwnership

-description

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.

-parameters

-param taskId

The IBackgroundTaskRegistration.TaskId of the background task that will be triggered by the socket broker when traffic arrives for this StreamSocket.

-remarks

For info about error conditions, see the Remarks section for EnableTransferOwnership(Guid, SocketActivityConnectedStandbyAction).

-examples

-see-also

EnableTransferOwnership(Guid, SocketActivityConnectedStandbyAction)