[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
An abstract base class used to create composite activities from pre-existing Activity objects, which specifies a result type using the activity’s type specifier.
Namespace:
System.Activities
Assembly:
System.Activities (in System.Activities.dll)
Visual Basic (Declaration)
<TypeConverterAttribute(GetType(ActivityWithResultConverter))> _
Public MustInherit Class Activity(Of TResult) _
Inherits ActivityWithResult
Dim instance As Activity(Of TResult)
[TypeConverterAttribute(typeof(ActivityWithResultConverter))]
public abstract class Activity<TResult> : ActivityWithResult
[TypeConverterAttribute(typeof(ActivityWithResultConverter))]
generic<typename TResult>
public ref class Activity abstract : public ActivityWithResult
[<AbstractClassAttribute>]
[<TypeConverterAttribute(typeof(ActivityWithResultConverter))>]
type Activity<'TResult> =
class
inherit ActivityWithResult
end
Type Parameters
- TResult
The type of the return value of the activity.
Activity<(Of <(TResult>)>) is the base class in the activity type hierarchy. All other activity types with generic type definitions such as CodeActivity<(Of <(TResult>)>), NativeActivity<(Of <(TResult>)>), AsyncCodeActivity<(Of <(TResult>)>), and DynamicActivity<(Of <(TResult>)>) derive from this class.
System..::.Object
System.Activities..::.Activity
System.Activities..::.ActivityWithResult
System.Activities..::.Activity<(Of <(TResult>)>)
System.Activities..::.AsyncCodeActivity<(Of <(TResult>)>)
System.Activities..::.CodeActivity<(Of <(TResult>)>)
System.Activities..::.DynamicActivity<(Of <(TResult>)>)
System.Activities.Expressions..::.AndAlso
System.Activities.Expressions..::.OrElse
System.Activities..::.NativeActivity<(Of <(TResult>)>)
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 4
.NET Framework Client Profile
Supported in: 4
Reference