Skip to content

IPluginJob

Interface in Oadm.Sdk.Plugins · Oadm.Sdk.dll

One job of IPluginJobs.

public interface IPluginJob

Guide: Device groups and the call context

Task Completion { get; }

Ends when the work ended (ran to completion, failed or was cancelled).

string Id { get; }

A random id (never guessable), unique on the server.

string Kind { get; }

The plugin’s kind of work (“report”).

ICallContext Owner { get; }

The call of the user who started it: its devices are the job’s devices.

void Cancel()

Asks the work to stop (its token is cancelled).