Class AsyncTask
Class AsyncTask
Namespace: Aspose.Imaging.AsyncTask
Assembly: Aspose.Imaging.dll (25.2.0)
The static factory class for creating the asynchronous tasks
public static class AsyncTask
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
Create(AsyncTaskAction)
Creates the asynchronous task without any result.
public static IAsyncTask Create(AsyncTaskAction taskAction)
Parameters
taskAction
AsyncTaskAction
The task action.
Returns
The asynchronous task
Create(AsyncTaskFunc)
Creates the asynchronous task with generic type result.
public static IAsyncTask Create(AsyncTaskFunc taskFunc)
Parameters
taskFunc
AsyncTaskFunc
The task function.
Returns
The asynchronous task