Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
    format As String, _
    ParamArray args As Object() _
) As Span
public Span EnterSpan(
    Importance level,
    string format,
    params Object[] args
)
public:
Span^ EnterSpan(
    Importance level, 
    String^ format, 
    ... array<Object^>^ args
)
member EnterSpan : 
        level:Importance * 
        format:string * 
        args:Object[] -> Span
public function EnterSpan(
    level : Importance, 
    format : String, 
    ... args : Object[]
) : Span
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance of the span.
format
Type: StringA 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.