Partager via


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

Écrit un message dans le fichier de suivi du visualiseur concurrentiel avec le niveau et le texte d'importance spécifiés. Texte spécifié par les paramètres format et args.

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

Syntaxe

'Déclaration
Public Sub WriteMessage ( _
    category As Integer, _
    text As String _
)
public void WriteMessage(
    int category,
    string text
)
public:
void WriteMessage(
    int category, 
    String^ text
)
member WriteMessage : 
        category:int * 
        text:string -> unit
public function WriteMessage(
    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