Markers.WriteMessage 메서드 (Int32, String)

지정된 중요 수준과 텍스트가 있는 동시성 시각화 추적 파일에 메시지를 씁니다. 텍스트를 format 및 args 매개 변수로 지정합니다.

네임스페이스:  Microsoft.ConcurrencyVisualizer.Instrumentation
어셈블리:  Microsoft.ConcurrencyVisualizer.Markers(Microsoft.ConcurrencyVisualizer.Markers.dll)

구문

‘선언
Public Shared Sub WriteMessage ( _
    category As Integer, _
    text As String _
)
public static void WriteMessage(
    int category,
    string text
)
public:
static void WriteMessage(
    int category, 
    String^ text
)
static member WriteMessage : 
        category:int * 
        text:string -> unit
public static function WriteMessage(
    category : int, 
    text : String
)

매개 변수

  • category
    형식: Int32

    메시지의 범주입니다. 모든 정수가 유효합니다.

  • text
    형식: String

    메시지에 대한 설명입니다.

.NET Framework 보안

참고 항목

참조

Markers 클래스

WriteMessage 오버로드

Microsoft.ConcurrencyVisualizer.Instrumentation 네임스페이스