DotMSN |

# P2PTransferSession.AbortTransfer Method

Aborts the datatransfer, if available. This will send a P2P abort message and stop the sending thread. It will not close a direct connection. If AutoCloseStream is set to true, the datastream will be closed.

[Visual Basic]
Public Sub AbortTransfer()
[C#]
public void AbortTransfer();

#### See Also

P2PTransferSession Class | XihSolutions.DotMSN.DataTransfer Namespace