DBusMessage.method_error


Description:

[ CCode ( has_construct_function = false ) ]
[ PrintfFormat ]
public DBusMessage.method_error (DBusMessage method_call_message, string error_name, string error_message_format, ...)

Creates a new DBusMessage that is an error reply to this .

Parameters:

this

A message of type g_dbus_message_type_method_call to create a reply message to.

error_name

A valid D-Bus error name.

error_message_format

The D-Bus error message in a printf format.

...

Arguments for error_message_format.

Returns:

A DBusMessage. Free with unref.




2022 vala-language.org