共用方式為


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