Share via


OnTaskCreated.TaskId property

Gets or sets the GUID of the SharePoint task that was created.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property TaskId As Guid
    Get
    Set
'Usage
Dim instance As OnTaskCreated
Dim value As Guid

value = instance.TaskId

instance.TaskId = value
[ValidationOptionAttribute(ValidationOption.Required)]
public Guid TaskId { get; set; }

Property value

Type: System.Guid

See also

Reference

OnTaskCreated class

OnTaskCreated members

Microsoft.SharePoint.WorkflowActions namespace

Other resources

Workflow Activities for Windows SharePoint Services Overview

How Windows SharePoint Services Processes Workflow Activities

Workflow Task Forms (Windows SharePoint Services)