AsyncTaskFunc
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
AsyncTaskFunc()
public AsyncTaskFunc()
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
combine(System.Delegate arg0, System.Delegate arg1)
public static System.Delegate combine(System.Delegate arg0, System.Delegate arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Delegate | |
arg1 | com.aspose.ms.System.Delegate |
Returns: com.aspose.ms.System.Delegate
combine(System.Delegate[] arg0)
public static System.Delegate combine(System.Delegate[] arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Delegate[] |
Returns: com.aspose.ms.System.Delegate
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
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDelegateId()
public String getDelegateId()
Returns: java.lang.String
getInvocationList()
public final System.Delegate[] getInvocationList()
Returns: com.aspose.ms.System.Delegate[]
hashCode()
public native int hashCode()
Returns: int
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.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
op_Equality(System.Delegate arg0, System.Delegate arg1)
public static boolean op_Equality(System.Delegate arg0, System.Delegate arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Delegate | |
arg1 | com.aspose.ms.System.Delegate |
Returns: boolean
op_Equality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
public static boolean op_Equality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.MulticastDelegate | |
arg1 | com.aspose.ms.System.MulticastDelegate |
Returns: boolean
op_Inequality(System.Delegate arg0, System.Delegate arg1)
public static boolean op_Inequality(System.Delegate arg0, System.Delegate arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Delegate | |
arg1 | com.aspose.ms.System.Delegate |
Returns: boolean
op_Inequality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
public static boolean op_Inequality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.MulticastDelegate | |
arg1 | com.aspose.ms.System.MulticastDelegate |
Returns: boolean
peekOutRefParam(int arg0)
public Object peekOutRefParam(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
Returns: java.lang.Object
peekResult()
public Object peekResult()
Returns: java.lang.Object
remove(System.Delegate arg0, System.Delegate arg1)
public static System.Delegate remove(System.Delegate arg0, System.Delegate arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Delegate | |
arg1 | com.aspose.ms.System.Delegate |
Returns: com.aspose.ms.System.Delegate
removeAll(System.Delegate arg0, System.Delegate arg1)
public static System.Delegate removeAll(System.Delegate arg0, System.Delegate arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Delegate | |
arg1 | com.aspose.ms.System.Delegate |
Returns: com.aspose.ms.System.Delegate
setException(RuntimeException arg0)
public void setException(RuntimeException arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.RuntimeException |
throwException()
public void throwException()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |