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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.