public class RunWorkerCompletedEventArgs extends AsyncCompletedEventArgs
Constructor and Description |
---|
RunWorkerCompletedEventArgs(Object result,
RuntimeException error,
boolean cancelled)
Initializes a new instance of the RunWorkerCompletedEventArgs class.
|
Modifier and Type | Method and Description |
---|---|
Object |
getResult()
Gets a value that represents the result of an asynchronous operation.
|
getCancelled, getError, getUserState, raiseExceptionIfNecessary
public RunWorkerCompletedEventArgs(Object result, RuntimeException error, boolean cancelled)
result
- The result of an asynchronous operation.error
- Any error that occurred during the asynchronous operation.cancelled
- A value indicating whether the asynchronous operation was canceled.public Object getResult()