HandleExternalEventActivity Constructors
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.
Initializes a new instance of the HandleExternalEventActivity class.
Overloads
HandleExternalEventActivity() |
Initializes a new instance of the HandleExternalEventActivity class. |
HandleExternalEventActivity(String) |
Initializes a new instance of the HandleExternalEventActivity class using the name of the activity. |
HandleExternalEventActivity()
Initializes a new instance of the HandleExternalEventActivity class.
public:
HandleExternalEventActivity();
public HandleExternalEventActivity ();
Public Sub New ()
Examples
The following code example shows how to create and set values for the HandleExternalEventActivity class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see Raise Event To Load Workflow.
this.Car.Name = "Car";
this.Car.ExecuteCode += new System.EventHandler(this.Car_ExecuteCode);
this.Car.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, codecondition1);
codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.AirlineCondition);
Me.Car.Name = "Car"
AddHandler Car.ExecuteCode, AddressOf Me.Car_ExecuteCode
Me.Car.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, codecondition1)
AddHandler codecondition2.Condition, AddressOf Me.AirlineCondition
See also
Applies to
HandleExternalEventActivity(String)
Initializes a new instance of the HandleExternalEventActivity class using the name of the activity.
public:
HandleExternalEventActivity(System::String ^ name);
public HandleExternalEventActivity (string name);
new System.Workflow.Activities.HandleExternalEventActivity : string -> System.Workflow.Activities.HandleExternalEventActivity
Public Sub New (name As String)
Parameters
- name
- String
The user-defined name of the activity.
See also
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про