Share via


LogToHistoryListActivity.EventId property

Gets or sets the type of event that was raised.

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
<ValidationOptionAttribute(ValidationOption.Optional)> _
Public Property EventId As SPWorkflowHistoryEventType
    Get
    Set
'Usage
Dim instance As LogToHistoryListActivity
Dim value As SPWorkflowHistoryEventType

value = instance.EventId

instance.EventId = value
[BrowsableAttribute(true)]
[ValidationOptionAttribute(ValidationOption.Optional)]
public SPWorkflowHistoryEventType EventId { get; set; }

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType
An identifier (ID) that represents the type of event that was raised.

Examples

LogToHistoryListActivity logWriter = (LogToHistoryListActivity)sender;logWriter.EventId = SPWorkflowHistoryEventType.TaskCreated;

See also

Reference

LogToHistoryListActivity class

LogToHistoryListActivity members

Microsoft.SharePoint.WorkflowActions namespace