IWTSVirtualChannel::Close method

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


 Close();

Parameters

This method has no parameters.

Return value

Returns S_OK if successful.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

TsVirtualChannels.h

IDL

TsVirtualChannels.idl

See also

IWTSVirtualChannel

 

 

Show: