Markers.EnterSpan Method (String, array<Object )
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Marks the beginning of a new span.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Shared Function EnterSpan ( _
format As String, _
ParamArray args As Object() _
) As Span
public static Span EnterSpan(
string format,
params Object[] args
)
public:
static Span^ EnterSpan(
String^ format,
... array<Object^>^ args
)
static member EnterSpan :
format:string *
args:Object[] -> Span
public static function EnterSpan(
format : String,
... args : Object[]
) : Span
Parameters
format
Type: System.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<System.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.