Custom Tracking Records

.NET Framework (current version)

This topic demonstrates how to create custom tracking records and populate them with data to be emitted along with the records.

Custom tracking records can be emitted from a code activity as shown in the following example.

protected override void Execute(CodeActivityContext context)  
            CustomTrackingRecord customRecord = new CustomTrackingRecord("CustomEmailSentEvent");  
            customRecord.Data.Add("SendTime", sendTime);  

A CustomTrackingRecord is emitted in a code activity by invoking the Track method on the ActvityContext.

Windows Server App Fabric Monitoring
Monitoring Applications with App Fabric