Property | Type | Description | |
---|---|---|---|
WorkerThread | Thread |
Method | Description | |
---|---|---|
AttemptToTerminate ( ) : bool |
Attempts to terminate the worker thread.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Start ( ) : void |
Starts this instance.
|
|
Stop ( ) : void |
Stops this instance.
|
|
TryForceTerminate ( ) : void |
Forces the worker to terminate.
|
Method | Description | |
---|---|---|
RaiseSystemException ( |
Raises the system exception.
|
|
RaiseSystemException ( object sender, WorkerErrorEventArgs e ) : void |
Raises the system exception.
|
|
RaiseSystemMessageException ( object sender, |
Raises the system message exception.
|
|
RaiseUserException ( |
Raises the user exception.
|
|
RaiseUserException ( object sender, WorkerErrorEventArgs e ) : void |
Raises the user exception.
|
|
RaiseUserMessageException ( object sender, |
Raises the user message exception.
|
|
ThrowIfDisposed ( [ name = "" ) : void |
Throws an exception if this instance has been disposed.
|
|
WorkerBase ( |
Initializes a new instance of the WorkerBase class.
|
protected RaiseSystemException ( |
||
error | The error. | |
return | void |
protected RaiseSystemException ( object sender, WorkerErrorEventArgs e ) : void | ||
sender | object | The sender. |
e | WorkerErrorEventArgs | The |
return | void |
protected RaiseSystemMessageException ( object sender, |
||
sender | object | The sender. |
e | The |
|
return | void |
protected RaiseUserException ( |
||
error | The error. | |
return | void |
protected RaiseUserException ( object sender, WorkerErrorEventArgs e ) : void | ||
sender | object | The sender. |
e | WorkerErrorEventArgs | The |
return | void |
protected RaiseUserMessageException ( object sender, |
||
sender | object | The sender. |
e | The |
|
return | void |
protected ThrowIfDisposed ( [ name = "" ) : void | ||
name | [ | The name. |
return | void |
protected WorkerBase ( |
||
workerTerminate | The worker terminate. | |
return | System |