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

ConstructorDescription
AsyncTaskFunc()

Methods

MethodDescription
beginInvoke(IAsyncTaskState taskState, System.AsyncCallback callback, Object state)
combine(System.Delegate arg0, System.Delegate arg1)
combine(System.Delegate[] arg0)
endInvoke(System.IAsyncResult result)
equals(Object arg0)
getClass()
getDelegateId()
getInvocationList()
hashCode()
invoke(IAsyncTaskState taskState)The long operation delegate for the asynchronous task with generic type result.
notify()
notifyAll()
op_Equality(System.Delegate arg0, System.Delegate arg1)
op_Equality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
op_Inequality(System.Delegate arg0, System.Delegate arg1)
op_Inequality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
peekOutRefParam(int arg0)
peekResult()
remove(System.Delegate arg0, System.Delegate arg1)
removeAll(System.Delegate arg0, System.Delegate arg1)
setException(RuntimeException arg0)
throwException()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AsyncTaskFunc()

public AsyncTaskFunc()

beginInvoke(IAsyncTaskState taskState, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginInvoke(IAsyncTaskState taskState, System.AsyncCallback callback, Object state)

Parameters:

ParameterTypeDescription
taskStateIAsyncTaskState
callbackcom.aspose.ms.System.AsyncCallback
statejava.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:

ParameterTypeDescription
arg0com.aspose.ms.System.Delegate
arg1com.aspose.ms.System.Delegate

Returns: com.aspose.ms.System.Delegate

combine(System.Delegate[] arg0)

public static System.Delegate combine(System.Delegate[] arg0)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Delegate[]

Returns: com.aspose.ms.System.Delegate

endInvoke(System.IAsyncResult result)

public final Object endInvoke(System.IAsyncResult result)

Parameters:

ParameterTypeDescription
resultcom.aspose.ms.System.IAsyncResult

Returns: java.lang.Object

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
taskStateIAsyncTaskStateState 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:

ParameterTypeDescription
arg0com.aspose.ms.System.Delegate
arg1com.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:

ParameterTypeDescription
arg0com.aspose.ms.System.MulticastDelegate
arg1com.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:

ParameterTypeDescription
arg0com.aspose.ms.System.Delegate
arg1com.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:

ParameterTypeDescription
arg0com.aspose.ms.System.MulticastDelegate
arg1com.aspose.ms.System.MulticastDelegate

Returns: boolean

peekOutRefParam(int arg0)

public Object peekOutRefParam(int arg0)

Parameters:

ParameterTypeDescription
arg0int

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:

ParameterTypeDescription
arg0com.aspose.ms.System.Delegate
arg1com.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:

ParameterTypeDescription
arg0com.aspose.ms.System.Delegate
arg1com.aspose.ms.System.Delegate

Returns: com.aspose.ms.System.Delegate

setException(RuntimeException arg0)

public void setException(RuntimeException arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int