Partager via


MarkerSeries.WriteMessage, méthode (Importance, Int32, String)

Écrit un message dans le fichier de suivi du visualiseur concurrentiel avec le niveau, la catégorie et le texte d'importance spécifiés.

Espace de noms :  Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly :  Microsoft.ConcurrencyVisualizer.Markers (dans Microsoft.ConcurrencyVisualizer.Markers.dll)

Syntaxe

'Déclaration
Public Sub WriteMessage ( _
    level As Importance, _
    category As Integer, _
    text As String _
)
public void WriteMessage(
    Importance level,
    int category,
    string text
)
public:
void WriteMessage(
    Importance level, 
    int category, 
    String^ text
)
member WriteMessage : 
        level:Importance * 
        category:int * 
        text:string -> unit
public function WriteMessage(
    level : Importance, 
    category : int, 
    text : String
)

Paramètres

  • category
    Type : Int32

    Catégorie du message. Tout entier est valide.

  • text
    Type : String

    Description du message.

Sécurité .NET Framework

Voir aussi

Référence

MarkerSeries Classe

WriteMessage, surcharge

Microsoft.ConcurrencyVisualizer.Instrumentation, espace de noms