Activity<TResult>.FromValue(TResult) Method

Definition

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

C#
public static System.Activities.Activity<TResult> FromValue(TResult constValue);

Parameters

constValue
TResult

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

Returns

A workflow expression that evaluates to the given value.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1