FlushTransport method

ControlChannelTrigger.FlushTransport method

Flushes any networking data used by the transport connection associated with the ControlChannelTrigger to the networking stack.

Note  The ControlChannelTrigger class is not supported on Windows Phone.
 

Syntax


public void FlushTransport()

Parameters

This method has no parameters.

Remarks

The FlushTransport method flushes any networking data used by the transport connection associated with the ControlChannelTrigger to the networking stack. This method is called at the end of a background task. It ensures any networking data that is being sent leaves the process and has a chance to get to networking stack.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0
Mobile, introduced version 10.0.10240.0

API contract

Windows.Networking.Sockets.ControlChannelTriggerContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Networking.Sockets.ControlChannelTriggerContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

See also

ControlChannelTrigger

 

 

Show:
© 2016 Microsoft