Markers.EnterSpan Method (Int32, String)

Marks the beginning of a new span.

Namespace:  Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly:  Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)

Syntax

'Declaration
Public Shared Function EnterSpan ( _
    category As Integer, _
    text As String _
) As Span
public static Span EnterSpan(
    int category,
    string text
)
public:
static Span^ EnterSpan(
    int category, 
    String^ text
)
static member EnterSpan : 
        category:int * 
        text:string -> Span
public static function EnterSpan(
    category : int, 
    text : String
) : Span

Parameters

  • category
    Type: Int32

    The category of the span. Any integer is valid.

  • text
    Type: String

    A description of the span.

Return Value

Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Span
Returns Span.

.NET Framework Security

See Also

Reference

Markers Class

EnterSpan Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace