TrackingChannel.InstanceCompletedOrTerminated 方法
定义
在派生类中实现时,将在跟踪通道上通知数据的接收者:与跟踪通道关联的工作流实例已完成或终止。When implemented in a derived class, notifies a receiver of data on the tracking channel that the workflow instance associated with the tracking channel has either completed or terminated.
protected public:
abstract void InstanceCompletedOrTerminated();
protected internal abstract void InstanceCompletedOrTerminated ();
abstract member InstanceCompletedOrTerminated : unit -> unit
Protected Friend MustOverride Sub InstanceCompletedOrTerminated ()
注解
运行时跟踪基础结构调用 InstanceCompletedOrTerminated 以在跟踪通道上通知数据的接收者:与此跟踪通道关联的工作流实例已完成或终止。The runtime tracking infrastructure calls InstanceCompletedOrTerminated to notify the receiver of data on the tracking channel that the workflow instance associated with this tracking channel has either terminated or completed. 将不会在跟踪通道上发送其他数据。No more data will be sent on the tracking channel. 调用 InstanceCompletedOrTerminated 后,您可以执行 TrackingChannel 类的实现所要求的任何操作。When InstanceCompletedOrTerminated is called, you may perform whatever actions are required by your implementation of the TrackingChannel class.