ToFormattedString Method

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Returns the record as a formatted string

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 string ToFormattedString(
	this WorkflowInstanceSuspendedRecord record,
	TrackingOptions options = TrackingOptions.Default
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function ToFormattedString ( _
	record As WorkflowInstanceSuspendedRecord, _
	Optional options As TrackingOptions = TrackingOptions.Default _
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ ToFormattedString(
	WorkflowInstanceSuspendedRecord^ record, 
	TrackingOptions options = TrackingOptions::Default
)

Parameters

record
Type: System.Activities.Tracking..::..WorkflowInstanceSuspendedRecord
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

Return Value

The formatted tracking record

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WorkflowInstanceSuspendedRecord. 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