delete_entry


Description:

[ Version ( since = "0.9.0" ) ]
public bool delete_entry (AuthorizationDomain? domain, Entry entry, Cancellable? cancellable = null) throws Error

Deletes entry from the server.

For more information about the concept of deleting entries, see the online documentation for the GData protocol.

If cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled before or during network activity, the error CANCELLED will be returned. Cancellation has no effect after network activity has finished, however, and the deletion will return successfully (or return an error sent by the server) if it is first cancelled after network activity has finished. See the overview of cancellation for more details.

If there is an error deleting the entry, a PROTOCOL_ERROR error will be returned. Currently, subclasses cannot cannot override this or provide more specific errors.

Parameters:

this

a Service

domain

the AuthorizationDomain the deletion falls under, or null

entry

the Entry to delete

cancellable

optional Cancellable object, or null

Returns:

true on success, false otherwise




2022 vala-language.org