Class AddHistoryItem

Activity that adds a HistoryItem to a WorkflowDefinitionInstance history log.

Inheritance
System.Object
AddHistoryItem
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
public class AddHistoryItem : InvokesBase<AddHistoryItem>

Constructors

AddHistoryItem()

Initializes a new instance of the DeleteTask class.

Declaration
public AddHistoryItem()

Fields

ItemDescriptionProperty

Register Description property so it can be databound

Declaration
public static DependencyProperty ItemDescriptionProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

ItemSubjectProperty

Register Subject property so it can be databound

Declaration
public static DependencyProperty ItemSubjectProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

UserProperty

Register User property so it can be databound

Declaration
public static DependencyProperty UserProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

Properties

ItemDescription

Gets or sets the description for the history item

Declaration
public string ItemDescription { get; set; }
Property Value
Type Description
System.String

ItemSubject

Gets or sets the subject for the history item

Declaration
public string ItemSubject { get; set; }
Property Value
Type Description
System.String

User

Gets or sets the user for the history item

Declaration
public string User { get; set; }
Property Value
Type Description
System.String

Methods

OnMethodInvoking(EventArgs)

Provides a hook for derived classes to set System.Workflow.Activities.CallExternalMethodActivity.ParameterBindings. This method is called just before the external method is run.

Declaration
protected override void OnMethodInvoking(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

An System.EventArgs that contains the data for the System.Workflow.Activities.CallExternalMethodActivity.MethodInvoking event.