Version:
ExecuteJobAsync(RemoteJob job, System.Threading.CancellationToken cancellationToken) Method
Begins asynchronously executing a long-running remote job.
Syntax
public
abstract
Task<object> ExecuteJobAsync(RemoteJob job, System.Threading.CancellationToken cancellationToken)
Parameters
- job
- Type: RemoteJob
The job to execute.
- cancellationToken
- Type: System.Threading.CancellationToken
Cancellation token for the job.
Returns
Result of the job.
Exceptions
System.ArgumentNullException
|
job is null (Nothing in Visual Basic).
|