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

HRESULT Close(

);

Parameters

This method has no parameters.

Return Value

Returns S_OK if successful.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header tsvirtualchannels.h

See Also

IWTSVirtualChannel