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: 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.