Share via


LogToHistoryListActivity.HistoryOutcome property

Gets or sets a description of the results of the event.

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

Syntax

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

value = instance.HistoryOutcome

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

Property value

Type: System.String
Text that describes the results of the event.

Remarks

Use this property to insert text into the history log that describes the result of the event.

Examples

LogToHistoryListActivity logWriter = (LogToHistoryListActivity)sender;logWriter.HistoryOutcome = "Creation of task failed";

See also

Reference

LogToHistoryListActivity class

LogToHistoryListActivity members

Microsoft.SharePoint.WorkflowActions namespace