MarkerSeries.EnterSpan Method (Importance, Int32, String, array<Object )

Marks the beginning of a new span.

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

Syntax

'Declaration
Public Function EnterSpan ( _
    level As Importance, _
    category As Integer, _
    format As String, _
    ParamArray args As Object() _
) As Span
public Span EnterSpan(
    Importance level,
    int category,
    string format,
    params Object[] args
)
public:
Span^ EnterSpan(
    Importance level, 
    int category, 
    String^ format, 
    ... array<Object^>^ args
)
member EnterSpan : 
        level:Importance * 
        category:int * 
        format:string * 
        args:Object[] -> Span
public function EnterSpan(
    level : Importance, 
    category : int, 
    format : String, 
    ... args : Object[]
) : Span

Parameters

  • category
    Type: Int32

    The category of the span. Any integer is valid.

  • format
    Type: 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: array<Object[]

    An object array containing zero or more objects to format.

Return Value

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

.NET Framework Security

See Also

Reference

MarkerSeries Class

EnterSpan Overload

Microsoft.ConcurrencyVisualizer.Instrumentation Namespace