take_error


Description:

[ Version ( deprecated = true , deprecated_since = "2.46" , since = "2.28" ) ]
public void take_error (Error error)

Warning: take_error is deprecated since 2.46.

Sets the result from error, and takes over the caller's ownership of error, so the caller does not need to free it any more.

Note:

Use Task and return_error instead.

Parameters:

this

a SimpleAsyncResult

error

a Error