Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.18 KB

streamsocketlistener_enabletransferownership_452874301.md

File metadata and controls

27 lines (19 loc) · 1.18 KB
-api-id -api-type
M:Windows.Networking.Sockets.StreamSocketListener.EnableTransferOwnership(System.Guid,Windows.Networking.Sockets.SocketActivityConnectedStandbyAction)
winrt method

Windows.Networking.Sockets.StreamSocketListener.EnableTransferOwnership

-description

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.

-parameters

-param taskId

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

-param connectedStandbyAction

Specifies whether to enable or disable the activation of the background task when traffic arrives.

-remarks

-examples

-see-also

EnableTransferOwnership(Guid)