AsyncTaskFunc
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.ms.System.Delegate, com.aspose.ms.System.MulticastDelegate
public abstract class AsyncTaskFunc extends System.MulticastDelegate
The long operation delegate for the asynchronous task with generic type result.
Constructors
Constructor | Description |
---|---|
AsyncTaskFunc() |
Methods
Method | Description |
---|---|
invoke(IAsyncTaskState taskState) | The long operation delegate for the asynchronous task with generic type result. |
beginInvoke(IAsyncTaskState taskState, System.AsyncCallback callback, Object state) | |
endInvoke(System.IAsyncResult result) |
AsyncTaskFunc()
public AsyncTaskFunc()
invoke(IAsyncTaskState taskState)
public abstract Object invoke(IAsyncTaskState taskState)
The long operation delegate for the asynchronous task with generic type result.
Parameters:
Parameter | Type | Description |
---|---|---|
taskState | IAsyncTaskState | State of the asynchronous task. |
Returns: java.lang.Object - Result of the long operation.
beginInvoke(IAsyncTaskState taskState, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginInvoke(IAsyncTaskState taskState, System.AsyncCallback callback, Object state)
Parameters:
Parameter | Type | Description |
---|---|---|
taskState | IAsyncTaskState | |
callback | com.aspose.ms.System.AsyncCallback | |
state | java.lang.Object |
Returns: com.aspose.ms.System.IAsyncResult
endInvoke(System.IAsyncResult result)
public final Object endInvoke(System.IAsyncResult result)
Parameters:
Parameter | Type | Description |
---|---|---|
result | com.aspose.ms.System.IAsyncResult |
Returns: java.lang.Object