CancelRequestedRecord Class

Definition

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
Inheritance
CancelRequestedRecord
Attributes

Constructors

CancelRequestedRecord(Guid, Int64, ActivityInfo, ActivityInfo)

Creates a new instance of the CancelRequestedRecord class using the specified instance ID, record number, activity and child activity.

Properties

Activity

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.

(Inherited from TrackingRecord)
Child

Gets the ActivityInfo of the activity to be canceled.

EventTime

When implemented in a derived class, represents the time the tracking record occurred.

(Inherited from TrackingRecord)
InstanceId

When implemented in a derived class, represents the ID of the generating workflow instance.

(Inherited from TrackingRecord)
Level

Gets the TraceLevel of the event.

(Inherited from TrackingRecord)
RecordNumber

A sequence that defines the order in which tracking records are generated.

(Inherited from TrackingRecord)

Methods

Clone()

Creates a copy of the TrackingRecord.

(Inherited from TrackingRecord)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current CancelRequestedRecord object.

Applies to