This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class AsyncTask
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class AsyncTask

The type exposes the following members.

Public Constructors

  Name Description
Public method AsyncTask
Constructor

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Start
Starts the asynchronous task
Public method Static member StartNew
Starts an async task.
Public method ToString (Inherited from Object.)
Public method Wait
Waits for the task to complete.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Exception
Returns the exception if one happened.
Public property IsCompleted
Returns true if the task completed, either successfully or not.
Public property Result
Waits for the task to complete and returns the result.

See Also

Advanced