Trace Method

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
The trace method.

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 WorkflowInstanceUnhandledExceptionRecord record,
	TrackingOptions options = TrackingOptions.Default,
	TraceSource source = null
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub Trace ( _
	record As WorkflowInstanceUnhandledExceptionRecord, _
	Optional options As TrackingOptions = TrackingOptions.Default, _
	Optional source As TraceSource = Nothing _
)
Visual C++
public:
[ExtensionAttribute]
static void Trace(
	WorkflowInstanceUnhandledExceptionRecord^ record, 
	TrackingOptions options = TrackingOptions::Default, 
	TraceSource^ source = nullptr
)

Parameters

record
Type: System.Activities.Tracking..::..WorkflowInstanceUnhandledExceptionRecord
The record to trace.
options (Optional)
Type: Microsoft.Activities.Extensions.Tracking..::..TrackingOptions
The tracking options to use, if not provided will use the TrackingOptions.Default 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 WorkflowInstanceUnhandledExceptionRecord. 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