Activity<TResult>.FromValue(TResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.