CancelRequestedRecord 类
定义
表示在调用 CancelChild(ActivityInstance) 或 CancelChildren() 时由工作流运行时发送给跟踪参与者的数据。Represents the data sent by the workflow runtime to tracking participants when CancelChild(ActivityInstance) or CancelChildren() is called.
public ref class CancelRequestedRecord sealed : System::Activities::Tracking::TrackingRecord
[System.Runtime.Serialization.DataContract]
public sealed class CancelRequestedRecord : System.Activities.Tracking.TrackingRecord
[<System.Runtime.Serialization.DataContract>]
type CancelRequestedRecord = class
inherit TrackingRecord
Public NotInheritable Class CancelRequestedRecord
Inherits TrackingRecord
- 继承
- 属性
构造函数
| CancelRequestedRecord(Guid, Int64, ActivityInfo, ActivityInfo) |
使用指定的实例 ID、记录号、活动和子活动创建 CancelRequestedRecord 类的新实例。Creates a new instance of the CancelRequestedRecord class using the specified instance ID, record number, activity and child activity. |
属性
| Activity |
获取请求取消的活动的 ActivityInfo。Gets the ActivityInfo of the activity requesting the cancellation. |
| Annotations |
在派生类中实现时,表示添加到此跟踪记录的名称/值对的集合。When implemented in a derived class, represents a collection of name/value pairs that are added to this tracking record. (继承自 TrackingRecord) |
| Child |
获取要取消的活动的 ActivityInfo。Gets the ActivityInfo of the activity to be canceled. |
| EventTime |
在派生类中实现时,表示跟踪记录发生时的时间。When implemented in a derived class, represents the time the tracking record occurred. (继承自 TrackingRecord) |
| InstanceId |
在派生类中实现时,表示生成工作流实例的 ID。When implemented in a derived class, represents the ID of the generating workflow instance. (继承自 TrackingRecord) |
| Level |
获取事件的 TraceLevel。Gets the TraceLevel of the event. (继承自 TrackingRecord) |
| RecordNumber |
一个定义跟踪记录生成顺序的序列。A sequence that defines the order in which tracking records are generated. (继承自 TrackingRecord) |
方法
| Clone() |
创建 TrackingRecord 的副本。Creates a copy of the TrackingRecord. (继承自 TrackingRecord) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前 CancelRequestedRecord 对象的字符串。Returns a string that represents the current CancelRequestedRecord object. |