CancelRequestedRecord(Guid, Int64, ActivityInfo, ActivityInfo) 构造函数

定义

使用指定的实例 ID、记录号、活动和子活动创建 CancelRequestedRecord 类的新实例。

public:
 CancelRequestedRecord(Guid instanceId, long recordNumber, System::Activities::Tracking::ActivityInfo ^ activity, System::Activities::Tracking::ActivityInfo ^ child);
public CancelRequestedRecord (Guid instanceId, long recordNumber, System.Activities.Tracking.ActivityInfo activity, System.Activities.Tracking.ActivityInfo child);
new System.Activities.Tracking.CancelRequestedRecord : Guid * int64 * System.Activities.Tracking.ActivityInfo * System.Activities.Tracking.ActivityInfo -> System.Activities.Tracking.CancelRequestedRecord
Public Sub New (instanceId As Guid, recordNumber As Long, activity As ActivityInfo, child As ActivityInfo)

参数

instanceId
Guid

生成事件的活动的实例 ID。

recordNumber
Int64

一个定义生成的跟踪事件顺序的序列。

activity
ActivityInfo

发出取消请求的活动。

child
ActivityInfo

要取消的活动。

适用于