call_connect_sync


Description:

public bool call_connect_sync (Variant arg_properties, out string out_bearer, Cancellable? cancellable = null) throws Error

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Simple.

Connect">Connect</link> D-Bus method on this. The calling thread is blocked until a reply is received.

See call_connect for the asynchronous version of this method.

Parameters:

this

A GdbusModemSimpleProxy.

arg_properties

Argument to pass with the method invocation.

out_bearer

Return location for return parameter or null to ignore.

cancellable

A Cancellable or null.

Returns:

true if the call succeeded, false if throws is set.