Share via


AsyncAction<TBusinessObject> Delegate

 

Represents a method that is used to run an asynchronous task that is associated with a business object. The associated business object is selected in the list pane of the Dashboard.

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

Syntax

public delegate object AsyncAction<TBusinessObject>(
    TBusinessObject businessObj,
    object initializationObj
)
generic<typename TBusinessObject>
public delegate Object^ AsyncAction(
    TBusinessObject businessObj,
    Object^ initializationObj
)
Public Delegate Function AsyncAction(Of TBusinessObject) (
    businessObj As TBusinessObject,
    initializationObj As Object
) As Object

Parameters

  • businessObj
    Type: TBusinessObject

    The instance of the currently selected business object.

Return Value

Type: System.Object

An implementation-defined object.

Type Parameters

  • TBusinessObject
    Represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.

Remarks

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

TBusinessObject represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.

An asynchronous task that is associated to a business object is created by initializing an AsyncUiTask<TBusinessObject> object.

See Also

Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top