我正在實施WF4服務。我想在app-fabric事件日誌中查看我的工作流程實例的關聯ID。 Basicaly我想寫自定義消息到應用程序結構。到目前爲止,我已經使用這個代碼,但沒有結果,將相關處理程序事件寫入AppFabric
protected override Contract1 Execute(CodeActivityContext context)
{
//...........
CustomTrackingRecord record=new CustomTrackingRecord(context.WorkflowInstanceId,"test record...",TraceLevel.Info);
context.Track(record);
//..........
}