Share via


span::span Constructor

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Initializes a new instance of the span class.

Syntax

span(
   const marker_series& _Series,
   _In_ LPCTSTR _Format,
   ...
);
span(
   const marker_series& _Series,
   marker_importance _Importance,
   _In_ LPCTSTR _Format,
   ...
);
span(
   const marker_series& _Series,
   int _Category,
   _In_ LPCTSTR _Format,
   ...
);
span(
   const marker_series& _Series,
   marker_importance _Importance,
   int _Category,
   _In_ LPCTSTR _Format,
   ...
);

Parameters

_Series Valid marker series context.

_Format A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the argument list.

_Importance Importance level.

_Category Category.

Requirements

Header: cvmarkersobj.h

Namespace: Concurrency::diagnostic

See also