อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


HandleExternalEventActivity Constructors

Definition

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.

C#
public HandleExternalEventActivity();

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.

C#
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);

See also

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

HandleExternalEventActivity(String)

Initializes a new instance of the HandleExternalEventActivity class using the name of the activity.

C#
public HandleExternalEventActivity(string name);

Parameters

name
String

The user-defined name of the activity.

See also

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1