Trace Method

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Provides a human readable trace

Namespace: Microsoft.Activities.Extensions.Tracking
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)

Syntax

C#
public static void Trace(
	this ReceiveMessageRecord record,
	TrackingOptions options = TrackingOptions.Default,
	TraceSource source = null
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub Trace ( _
	record As ReceiveMessageRecord, _
	Optional options As TrackingOptions = TrackingOptions.Default, _
	Optional source As TraceSource = Nothing _
)
Visual C++
public:
[ExtensionAttribute]
static void Trace(
	ReceiveMessageRecord^ record, 
	TrackingOptions options = TrackingOptions::Default, 
	TraceSource^ source = nullptr
)

Parameters

record
Type: System.ServiceModel.Activities.Tracking..::..ReceiveMessageRecord
The record.
options (Optional)
Type: Microsoft.Activities.Extensions.Tracking..::..TrackingOptions
The tracking options to use, if not provided will use the TrackingRecordExtensions.Options value
source (Optional)
Type: System.Diagnostics..::..TraceSource
The source.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ReceiveMessageRecord. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also