แก้ไข

แชร์ผ่าน


103 - ActivityStateRecord

Properties

Property Value
Id 103
Keywords EndToEndMonitoring, Troubleshooting, HealthMonitoring, WFTracking
Level Information
Channel Microsoft-Windows-Application Server-Applications/Analytic

Description

This event is emitted by the ETW tracking participant when a activity within a workflow instance emits ActivityStateRecord

Message

TrackRecord = ActivityStateRecord, InstanceID = %1, RecordNumber=%2, EventTime=%3, State = %4, Name=%5, ActivityId=%6, ActivityInstanceId=%7, ActivityTypeName=%8, Arguments=%9, Variables=%10, Annotations=%11, ProfileName = %12

Details

Data Item Name Data Item Type Description
InstanceId xs:GUID The instance id for the workflow
RecordNumber xs:long The sequence number of the emitted record
EventTime xs:dateTime The time in UTC when the event was emitted
State xs:string The state of the activity
Name xs:string The display name of the activity that emitted the event
ActivityId xs:string The activity id of the emitting activity
ActivityInstanceId xs:string The activity instance id of the emitting activity
ActivityTypeName xs:string The type name of the emitting activity
Arguments xs:string The arguments that were tracked with this event. The values are stored in an xml element in the format <items>< item name = "argumentName" type="System.String">argumentValue</item></items>. If no arguments were tracked then the string contains <items/>. The ETW event size is limited by the ETW buffer size or the max payload for an ETW event. If the size of the event exceeds the ETW limits, then the event is truncated by dropping the annotations and replacing the annotation value with <items>...</items>. The following types are stored as their value as returned by ToString(); string,char,bool,int,short,long,uint,ushort,ulong,System.Single,float,double,System.Guid,System.DateTimeOffset,System.DateTime. All other types are serialized using System.Runtime.Serialization.NetDataContractSerializer.
Variables xs:string The variables that were tracked with this event. The values are stored in an xml element in the format <items>< item name = "variableName" type="System.String">variableValue</item></items>. If no variables were tracked then the string contains <items/>. The ETW event size is limited by the ETW buffer size or the max payload for an ETW event. If the size of the event exceeds the ETW limits, then the event is truncated by dropping the annotations and replacing the variables value with <items>...</items>. The following types are stored as their value as returned by ToString(); string,char,bool,int,short,long,uint,ushort,ulong,System.Single,float,double,System.Guid,System.DateTimeOffset,System.DateTime. All other types are serialized using System.Runtime.Serialization.NetDataContractSerializer.
Annotations xs:string The annotations that were added to this event. The values are stored in an xml element in the format <items>< item name = "annotationName" type="System.String">annotationValue</item></items>. If no annotations are specified then the string contains <items/>. The ETW event size is limited by the ETW buffer size or the max payload for an ETW event. If the size of the event exceeds the ETW limits, then the event is truncated by dropping the annotations and replacing the annotation value with <items>...</items>.
ProfileName xs:string The name or the tracking profile that resulted in this event being emitted
HostReference xs:string For web hosted services, this field uniquely identifies the service in the web hierarchy. Its format is defined as 'Web Site Name Application Virtual Path|Service Virtual Path|ServiceName' Example: 'Default Web Site/CalculatorApplication|/CalculatorService.svc|CalculatorService'
AppDomain xs:string The string returned by AppDomain.CurrentDomain.FriendlyName.