Partager via


Markers.EnterSpan Method (Importance, 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(
    Importance level,
    int category,
    string text
)
public:
static Span^ EnterSpan(
    Importance level,
    int category,
    String^ text
)
static member EnterSpan : 
        level:Importance *
        category:int *
        text:string -> Span
Public Shared Function EnterSpan (
    level As Importance,
    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