Defines a workflow communication activity that is used to handle an event that is raised by a local service.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
<ActivityValidatorAttribute(GetType(HandleExternalEventActivityValidator))> <ObsoleteAttribute("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")> Public Class HandleExternalEventActivity Inherits Activity Implements IEventActivity, IActivityEventListener(Of QueueEventArgs), IDynamicPropertyTypeProvider
Gets or sets the binding to a CorrelationToken.
Gets the value that indicates whether this instance is in design or run-time mode.(Inherited from DependencyObject.)
Gets or sets a value that indicates whether this instance is enabled for execution and validation.(Inherited from Activity.)
Gets the name of the raised event. This property must be set before local communication can occur.
Gets or sets the ExternalDataExchangeAttribute attributed interface type of the local service whose event is handled. This property must be set before local communication can occur.
Gets or sets the name of this instance. This name must conform to the variable naming convention of the programming language that is being used in the Workflow project.(Inherited from Activity.)
Gets the collection of parameter bindings.
Gets the qualified name of the activity. Qualified activity names are always unique in a workflow instance.(Inherited from Activity.)
Gets or sets a reference to a workflow role collection.
Corresponds to the name of an event that is defined in an interface that was marked with the ExternalDataExchangeAttribute.
Corresponds to the name of the interface that was marked with the ExternalDataExchangeAttribute.
Defines an event delegate that is executed after the activity receives the expected event from the local service.
Identifies the valid user roles that are allowed to send messages from the host to this activity. The two types of supported roles are Active Directory and ASP.NET.
Occurs when the activity execution is canceled. (Inherited from Activity.)
Occurs when an exception is raised during the running of the instance.(Inherited from Activity.)
Occurs when the external event is received.
Represents the method that handles the Disposed event of a component.(Inherited from DependencyObject.)
|IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener(Of QueueEventArgs))|
Creates the subscription of theactivity to an event.
|IEventActivity.Unsubscribe(ActivityExecutionContext, IActivityEventListener(Of QueueEventArgs))|
Cancels the subscription of theactivity to an event.
|IActivityEventListener(Of QueueEventArgs).OnEvent(Object, QueueEventArgs)|
Defines the processing procedure when the subscribed-to event occurs.
Returns the access type for the specified property.
Returns the Type of the specified property.
Gets the name of the WorkflowQueue on which the activity is waiting for data to arrive.
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
Theis a blocking activity.
Classes that derive from IActivityEventListener(Of T) interface because the derived class does not execute correctly.should not implement the
The following code example shows how to create and set values for the Raise Event To Load Workflow.class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.