Sends an IQ response for the IQ request with the specified id.

Namespace: S22.Xmpp.Core
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void IqResponse(
	Iq response
)

Parameters

response
Type: S22.Xmpp.Core..::..Iq
The IQ response to send.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe response parameter is null.
System..::..ArgumentExceptionThe Type property of the response parameter is not IqType.Result or IqType.Error.
System..::..ObjectDisposedExceptionThe XmppCore object has been disposed.
System..::..InvalidOperationExceptionThe XmppCore instance is not connected to a remote host.
System.IO..::..IOExceptionThere was a failure while writing to the network.

See Also