Export (0) Print
Expand All

CustomTrackingRecord Class

Contains the data sent to a tracking participant by the run-time tracking infrastructure when a custom tracking record is raised.

Namespace:  System.Activities.Tracking
Assembly:  System.Activities (in System.Activities.dll)

[DataContractAttribute]
public class CustomTrackingRecord : TrackingRecord

The CustomTrackingRecord type exposes the following members.

  NameDescription
Protected methodCustomTrackingRecord(CustomTrackingRecord)Creates a new instance of the CustomTrackingRecord class based on information from the specified CustomTrackingRecord instance.
Public methodCustomTrackingRecord(String)Creates a new instance of the CustomTrackingRecord class with the specified custom tracking record name.
Public methodCustomTrackingRecord(String, TraceLevel)Creates a new instance of the CustomTrackingRecord class with the specified custom tracking record name and trace level.
Public methodCustomTrackingRecord(Guid, String, TraceLevel)Creates a new instance of the CustomTrackingRecord class with the specified instance ID, custom tracking record name, and trace level.
Top

  NameDescription
Public propertyActivityReturns the ActivityInfo of the activity associated with this record.
Public propertyAnnotationsWhen implemented in a derived class, represents a collection of name/value pairs that are added to this tracking record. (Inherited from TrackingRecord.)
Public propertyDataGets the user-defined data associated with this tracking record.
Public propertyEventTimeWhen implemented in a derived class, represents the time the tracking record occurred. (Inherited from TrackingRecord.)
Public propertyInstanceIdWhen implemented in a derived class, represents the ID of the generating workflow instance. (Inherited from TrackingRecord.)
Public propertyLevelGets the TraceLevel of the event. (Inherited from TrackingRecord.)
Public propertyNameGets the name that distinguishes this tracking record.
Public propertyRecordNumberA sequence that defines the order in which tracking records are generated. (Inherited from TrackingRecord.)
Top

  NameDescription
Protected methodCloneCreates a copy of the CustomTrackingRecord. (Overrides TrackingRecord.Clone().)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that contains the tracking record data. (Overrides TrackingRecord.ToString().)
Top

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft