Share via


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

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 Shared Function EnterSpan (
    category As Integer,
    text As String
) As Span

Parameters

  • category
    Type: System.Int32

    The category of the span. Any integer is valid.

Return Value

Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Span

Returns Span.

See Also

EnterSpan Overload
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace

Return to top