Bagikan melalui


MarkerSeries.EnterSpan Method (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 ( _
    format As String, _
    ParamArray args As Object() _
) As Span
public Span EnterSpan(
    string format,
    params Object[] args
)
public:
Span^ EnterSpan(
    String^ format, 
    ... array<Object^>^ args
)
member EnterSpan : 
        format:string * 
        args:Object[] -> Span
public function EnterSpan(
    format : String, 
    ... args : Object[]
) : Span

Parameters

  • 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