Otter SDK Reference
Version:

ExecuteJob(IRemoteJobExecuter jobExecuter, RemoteJob job) Method

Syncrhonously executes a long-running remote job.

Syntax

public static object ExecuteJob(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).