create_operation


Description:

[ Version ( since = "0.9.0" ) ]
public BatchOperation create_operation (AuthorizationDomain? domain, string feed_uri)

Creates a new BatchOperation for the given Batchable service, and with the given feed_uri.

feed_uri is normally the LINK_BATCH link URI in the appropriate Feed from the service. If authorization will be required to perform any of the requests in the batch operation, domain must be non-%NULL, and must be an authorization domain which covers all of the requests. Otherwise, domain may be null if authorization is not required.

Parameters:

this

a Batchable

domain

the AuthorizationDomain to authorize the operation, or null

feed_uri

the URI to send the batch operation request to

Returns:

a new BatchOperation; unref with unref