Cancels the specified file-transfer.

Namespace: S22.Xmpp.Client
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionThe transfer parameter is null.
System..::..ArgumentExceptionThe specified transfer instance does not represent an active data-transfer operation.
System..::..InvalidOperationExceptionThe XmppClient instance is not connected to a remote host, or the XmppClient instance has not authenticated with the XMPP server.
System..::..ObjectDisposedExceptionThe XmppClient object has been disposed.

See Also