CoerceDurationUnitActivity CoerceDurationUnitActivity CoerceDurationUnitActivity Class

Definition

A workflow activity used to change a specified DurationUnit into another, specific data type.

public ref class CoerceDurationUnitActivity : Microsoft::SharePoint::WorkflowActions::CoerceActivity
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(Microsoft.SharePoint.WorkflowActions.CoerceActivityValidator))]
public class CoerceDurationUnitActivity : Microsoft.SharePoint.WorkflowActions.CoerceActivity
Public Class CoerceDurationUnitActivity
Inherits CoerceActivity
Inheritance
CoerceDurationUnitActivityCoerceDurationUnitActivityCoerceDurationUnitActivity
Attributes

Constructors

CoerceDurationUnitActivity() CoerceDurationUnitActivity() CoerceDurationUnitActivity()

Initializes a new instance of the CoerceDurationUnitActivity class.

Properties

CoercionFunction CoercionFunction CoercionFunction Inherited from CoerceActivity
ReturnValue ReturnValue ReturnValue

property of type DurationUnit set when this activity completes

Value Value Value Inherited from CoerceActivity
__Context __Context __Context Inherited from CoerceActivity

Methods

AsDurationUnit(WorkflowContext, Object) AsDurationUnit(WorkflowContext, Object) AsDurationUnit(WorkflowContext, Object)

Converts a string object into a DurationUnit, or defaults to DurationUnit.Day

Execute(ActivityExecutionContext) Execute(ActivityExecutionContext) Execute(ActivityExecutionContext) Inherited from CoerceActivity
SetReturnValue(Object) SetReturnValue(Object) SetReturnValue(Object)

Applies to