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.
Represents an activity-based callback.
public ref class ActivityDelegate abstract
[System.Windows.Markup.ContentProperty("Handler")] public abstract class ActivityDelegate
[<System.Windows.Markup.ContentProperty("Handler")>] type ActivityDelegate = class
Public MustInherit Class ActivityDelegate
Activity delegates enable activity authors to expose callbacks with specific signatures that users of the activity can provide activity-based handlers for. There are two types of activity delegates: ActivityAction<T> is used for invoking activities that do not have a return value, and ActivityFunc<TResult> is used for invoking activities that do have a return value. Activity delegates are useful in scenarios where a child activity must be constrained to having a certain signature.
Called by derived class constructors to initialize the object.
Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.
Gets or sets the activity that is represented by this ActivityDelegate.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Supplies a list of runtime arguments for the ActivityDelegate.
Indicates whether the DisplayName property value should be serialized to XAML.