set_from_error


Description:

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

Warning: set_from_error is deprecated since 2.46.

Sets the result from a Error.

Note:

Use Task and return_error instead.

Parameters:

this

a SimpleAsyncResult.

error

Error.