set_fault


Description:


[ PrintfFormat ]
[ Version ( deprecated = true ) ]
public void set_fault (Message msg, int fault_code, string fault_format, ...)

Warning: set_fault is deprecated.

Sets the status code and response body of msg to indicate an unsuccessful XML-RPC call, with the error described by fault_code and fault_format.

Note:

Use message_set_fault instead.

Parameters:

msg

an XML-RPC request

fault_code

the fault code

fault_format

a printf-style format string

...

the parameters to fault_format


Namespace: Soup.XMLRPC
Package: libsoup-2.4