Cancels the specified file-transfer.
Namespace: S22.Xmpp.ClientAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void CancelFileTransfer( FileTransfer transfer ) |
Parameters
- transfer
- Type: S22.Xmpp.Extensions..::..FileTransfer
The file-transfer to cancel.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The transfer parameter is null. |
System..::..ArgumentException | The specified transfer instance does not represent an active data-transfer operation. |
System..::..InvalidOperationException | The XmppClient instance is not connected to a remote host, or the XmppClient instance has not authenticated with the XMPP server. |
System..::..ObjectDisposedException | The XmppClient object has been disposed. |