Close method

ControlChannelTrigger.Close method

[ Updated for UWP apps on Windows 10. For Windows 8.x articles, see the archive ]

Closes the ControlChannelTrigger object.

Note  This method is not supported on Windows Phone.
 

Syntax


public:
void Close()

Parameters

This method has no parameters.

Remarks

The Close method aborts any pending operations and releases all unmanaged resources associated with the ControlChannelTrigger object. Calling this method frees any hardware resources allocated for the ControlChannelTrigger.

In .NET Framework 4.5, this method is projected as the Dispose() method. In C++, this method is projected as part of the destructor (delete operator).

Requirements (Windows 10 device family)

Device family

Desktop
Mobile

API contract

Windows.Networking.Sockets.ControlChannelTriggerContract, introduced version 1.0

Namespace

Windows::Networking::Sockets

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

Metadata

Windows.winmd

See also

ControlChannelTrigger

 

 

Show:
© 2016 Microsoft