次の方法で共有


Markers.EnterSpan Method (Importance, String, Object[])

 

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,
    string format,
    params object[] args
)
public:
static Span^ EnterSpan(
    Importance level,
    String^ format,
    ... array<Object^>^ args
)
static member EnterSpan : 
        level:Importance *
        format:string *
        [<ParamArrayAttribute>] args:Object[] -> Span
Public Shared Function EnterSpan (
    level As Importance,
    format As String,
    ParamArray args As Object()
) As Span

Parameters

  • format
    Type: System.String

    A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the args array

  • args
    Type: System.Object[]

    An object array containing zero or more objects to format.

Return Value

Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Span

Returns Span.

See Also

EnterSpan Overload
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace

Return to top