Partager via


ProcessTask<TBusinessObject> Constructor (Guid, String, Converter<TBusinessObject, ProcessTaskStartInfo>)

 

Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified identifier, display name, and the ProcessTaskStartInfo object that is returned from the specified delegate method.

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

Syntax

public ProcessTask(
    Guid id,
    string displayName,
    Converter<TBusinessObject, ProcessTaskStartInfo> businessObjectToStartInfo
)
public:
ProcessTask(
    Guid id,
    String^ displayName,
    Converter<TBusinessObject, ProcessTaskStartInfo^>^ businessObjectToStartInfo
)
Public Sub New (
    id As Guid,
    displayName As String,
    businessObjectToStartInfo As Converter(Of TBusinessObject, ProcessTaskStartInfo)
)

Parameters

  • id
    Type: System.Guid

    The unique identifier of the task.

Exceptions

Exception Condition
ArgumentException

One or more of the parameters are not valid.

ArgumentNullException

One or more of the parameters are null.

Remarks

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.

After a task has been initialized, it must be added to a TaskCollection to be included in the task pane of the Dashboard.

See Also

ProcessTask<TBusinessObject> Overload
ProcessTask<TBusinessObject> Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top