共用方式為


ActivityStateRecord(Guid, Int64, ActivityInfo, String) 建構函式

定義

使用指定執行個體 ID、記錄編號、活動與活動狀態,初始化 ActivityStateRecord 類別的新執行個體。

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

參數

instanceId
Guid

活動的執行個體 ID。

recordNumber
Int64

定義產生追蹤記錄順序的序列。

activity
ActivityInfo

活動。

state
String

活動狀態。

適用於