Partager via


AsyncAction Delegate

 

Represents a method that is used to run an asynchronous task.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public delegate object AsyncAction(
    object initializationObj
)
public delegate Object^ AsyncAction(
    Object^ initializationObj
)
Public Delegate Function AsyncAction (
    initializationObj As Object
) As Object

Parameters

  • initializationObj
    Type: System.Object

    An implementation-defined object that is returned from an Initializer delegate method.

Return Value

Type: System.Object

An implementation-defined object.

Remarks

The object that is returned from this method is associated with the return value of a TaskCompletedEventArgs object.

An asynchronous task is created by initializing an AsyncUiTask object.

See Also

Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top