Otter SDK Reference
Version:

ExecuteJobAsync(IRemoteJobExecuter jobExecuter, RemoteJob job) Method

Begins asynchronously executing a long-running remote job.

Syntax

public static Task<object> ExecuteJobAsync(IRemoteJobExecuter jobExecuter, RemoteJob job)

Parameters

jobExecuter
Type: IRemoteJobExecuter

The agent.

job
Type: RemoteJob

The job to execute.

Returns

Result of the job.

Exceptions

System.ArgumentNullException

jobExecuter is null (Nothing in Visual Basic) or job is null (Nothing in Visual Basic).