DBusMessage.method_error_literal
Description:
[ CCode ( has_construct_function = false ) ]
public DBusMessage.method_error_literal (DBusMessage method_call_message, string error_name, string error_message)
public DBusMessage.method_error_literal (DBusMessage method_call_message, string error_name, string error_message)
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 |
The D-Bus error message. |
Returns:
A DBusMessage. Free with unref. |