public class AsyncCompletedEventArgs extends EventArgs
| Constructor and Description | 
|---|
AsyncCompletedEventArgs(RuntimeException error,
                       boolean cancelled,
                       Object userState)
Initializes a new instance of the AsyncCompletedEventArgs class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
getCancelled()
Gets a value indicating whether an asynchronous operation has been canceled. 
 | 
RuntimeException | 
getError()
Gets a value indicating which error occurred during an asynchronous operation. 
 | 
Object | 
getUserState()
Gets the unique identifier for the asynchronous task. 
 | 
protected void | 
raiseExceptionIfNecessary()  | 
public AsyncCompletedEventArgs(RuntimeException error, boolean cancelled, Object userState)
error - Any error that occurred during the asynchronous operation.cancelled - A value indicating whether the asynchronous operation was canceled.userState - An optional user-supplied state object.protected void raiseExceptionIfNecessary()
public boolean getCancelled()
public RuntimeException getError()
public Object getUserState()