Share via


CoerceActivity.__Context property

Gets or sets the [WorkflowContext] from which the CoerceActivity property can extract information about the active workflow instance.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property __Context As WorkflowContext
    Get
    Set
'Usage
Dim instance As CoerceActivity
Dim value As WorkflowContext

value = instance.__Context

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

Property value

Type: Microsoft.SharePoint.WorkflowActions.WorkflowContext
Returns WorkflowContext.

See also

Reference

CoerceActivity class

CoerceActivity members

Microsoft.SharePoint.WorkflowActions namespace