C# 클래스 System.Diagnostics.TraceSourceTests.TestTraceListener

상속: TraceListener
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
Fail ( string message ) : void
Fail ( string message, string detailMessage ) : void
Flush ( ) : void
GetCallCount ( Method group ) : int

Gets the number of times any of the public methods on this instance were called.

TestTraceListener ( String name, bool threadSafe = false ) : System.IO
TestTraceListener ( bool threadSafe = false ) : System.IO
TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data ) : void
TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format ) : void
TraceTransfer ( TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId ) : void
Write ( string message ) : void
WriteLine ( string message ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Call ( Method method ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Fail() 공개 메소드

public Fail ( string message ) : void
message string
리턴 void

Fail() 공개 메소드

public Fail ( string message, string detailMessage ) : void
message string
detailMessage string
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

GetCallCount() 공개 메소드

Gets the number of times any of the public methods on this instance were called.
public GetCallCount ( Method group ) : int
group Method
리턴 int

TestTraceListener() 공개 메소드

public TestTraceListener ( String name, bool threadSafe = false ) : System.IO
name String
threadSafe bool
리턴 System.IO

TestTraceListener() 공개 메소드

public TestTraceListener ( bool threadSafe = false ) : System.IO
threadSafe bool
리턴 System.IO

TraceData() 공개 메소드

public TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
리턴 void

TraceData() 공개 메소드

public TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
data object
리턴 void

TraceEvent() 공개 메소드

public TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
리턴 void

TraceEvent() 공개 메소드

public TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format ) : void
eventCache TraceEventCache
source string
eventType TraceEventType
id int
format string
리턴 void

TraceTransfer() 공개 메소드

public TraceTransfer ( TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId ) : void
eventCache TraceEventCache
source String
id int
message string
relatedActivityId Guid
리턴 void

Write() 공개 메소드

public Write ( string message ) : void
message string
리턴 void

WriteLine() 공개 메소드

public WriteLine ( string message ) : void
message string
리턴 void