IWTSVirtualChannel::Close method (tsvirtualchannels.h)

Closes the channel.

If the channel has not already been closed, the Close() method will call the IWTSVirtualChannelCallback::OnClose() method into the associated virtual channel callback interface. After a channel is closed, any Write() call on it will fail.

Syntax

HRESULT Close();

Return value

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header tsvirtualchannels.h

See also

IWTSVirtualChannel