Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method closes the connection stream.
HRESULT Close();
Parameters
None.
Remarks
If the ITransportConnection::Close method is called, all blocking calls to the ITransportConnection::ReadBytes method and the ITransportConnection::WriteBytes method should return.
Return Values
Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Tl.h, Tl.idl.
Link Library: Tlcesrv.dll (ActiveSync Transport), Tlkitl.dll (KITL Transport), Tcpip.dll (TCP/IP Transport).
See Also
ITransportConnection::ReadBytes | ITransportConnection::WriteBytes
Send Feedback on this topic to the authors