MarkerSeries.EnterSpan Method (Int32, String, Object[])
Marks the beginning of a new span.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
public Span EnterSpan(
int category,
string format,
params object[] args
)
public:
Span^ EnterSpan(
int category,
String^ format,
... array<Object^>^ args
)
member EnterSpan :
category:int *
format:string *
[<ParamArrayAttribute>] args:Object[] -> Span
Public Function EnterSpan (
category As Integer,
format As String,
ParamArray args As Object()
) As Span
Parameters
category
Type: System.Int32The category of the span. Any integer is valid.
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: System.Object[]An object array containing zero or more objects to format.
Return Value
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Span
Returns Span.
See Also
EnterSpan Overload
MarkerSeries Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace
Return to top