Table of Contents

Class JobThread

public class JobThread : IDisposable
Inheritance
JobThread
Implements
Inherited Members

Constructors

JobThread()

public JobThread()

Properties

Id

public string Id { get; }

Property Value

string

IsBusy

public bool IsBusy { get; }

Property Value

bool

IsRunning

public bool IsRunning { get; }

Property Value

bool

PendingJobCount

public int PendingJobCount { get; }

Property Value

int

Methods

CancelJob(string)

public void CancelJob(string jobId)

Parameters

jobId string

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

MainThreadUpdate()

public void MainThreadUpdate()

Start()

public void Start()

Stop()

public void Stop()

TryEnqueue(ThreadJobItem)

Enqueue a job for this dedicated thread to process. Fire-and-forget; use EnqueueAsync to await result.

public bool TryEnqueue(ThreadJobItem job)

Parameters

job ThreadJobItem

Returns

bool