Activity<TResult>.FromValue(TResult) Method

Definition

Returns a Activity<TResult> expression that evaluates to the given value.

public:
 static System::Activities::Activity<TResult> ^ FromValue(TResult constValue);
public static System.Activities.Activity<TResult> FromValue (TResult constValue);
static member FromValue : 'Result -> System.Activities.Activity<'Result>
Public Shared Function FromValue (constValue As TResult) As Activity(Of TResult)

Parameters

constValue
TResult

The value used to create the Activity<TResult> expression.

Returns

A workflow expression that evaluates to the given value.

Applies to