C# 클래스 SenseNet.Services.Instrumentation.TraceHelper

The TraceHelper is a static class provides several methods to help you trace your application.
파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

공개 메소드들

메소드 설명
TraceData ( TraceEventType eventType, int id ) : void

Writes trace data to the trace listeners in the Listeners collection.

TraceData ( TraceEventType eventType, int id, object data ) : void

Writes trace data to the trace listeners in the Listeners collection.

TraceEvent ( TraceEventType eventType, int id ) : void

Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier.

TraceEvent ( TraceEventType eventType, int id, string message ) : void

Writes a trace event message to the trace listeners in the Listeners collection using the specified event type, event identifier, and message.

TraceInformation ( string message ) : void

Writes an informational message to the trace listeners in the Listeners collection using the specified message.

TraceTransfer ( int id, string message, System.Guid relatedActivity ) : void

Writes a trace transfer message to the trace listeners in the Listeners collection using the specified numeric identifier, message, and related activity identifier.

비공개 메소드들

메소드 설명
GetCallerInfo ( ) : MethodBase
GetCallerSignature ( MethodBase caller ) : string
GetFormattedMessage ( string message, string methodSignature ) : string
GetTraceSource ( MethodBase caller ) : TraceSource
TraceFrameEvent ( TraceFrameEventType eventType, TraceFrame traceFrame ) : void
TraceInformationPrivate ( string message, MethodBase caller ) : void

메소드 상세

TraceData() 공개 정적인 메소드

Writes trace data to the trace listeners in the Listeners collection.
public static TraceData ( TraceEventType eventType, int id ) : void
eventType TraceEventType One of the TraceEventType values that specifies the event type of the trace data.
id int A numeric identifier for the event.
리턴 void

TraceData() 공개 정적인 메소드

Writes trace data to the trace listeners in the Listeners collection.
public static TraceData ( TraceEventType eventType, int id, object data ) : void
eventType TraceEventType One of the TraceEventType values that specifies the event type of the trace data.
id int A numeric identifier for the event.
data object The trace data.
리턴 void

TraceEvent() 공개 정적인 메소드

Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier.
public static TraceEvent ( TraceEventType eventType, int id ) : void
eventType TraceEventType One of the TraceEventType values that specifies the event type of the trace data.
id int A numeric identifier for the event.
리턴 void

TraceEvent() 공개 정적인 메소드

Writes a trace event message to the trace listeners in the Listeners collection using the specified event type, event identifier, and message.
public static TraceEvent ( TraceEventType eventType, int id, string message ) : void
eventType TraceEventType One of the TraceEventType values that specifies the event type of the trace data.
id int A numeric identifier for the event.
message string The trace message to write.
리턴 void

TraceInformation() 공개 정적인 메소드

Writes an informational message to the trace listeners in the Listeners collection using the specified message.
public static TraceInformation ( string message ) : void
message string The informative message to write.
리턴 void

TraceTransfer() 공개 정적인 메소드

Writes a trace transfer message to the trace listeners in the Listeners collection using the specified numeric identifier, message, and related activity identifier.
public static TraceTransfer ( int id, string message, System.Guid relatedActivity ) : void
id int A numeric identifier for the event.
message string The trace message to write.
relatedActivity System.Guid A Guid structure that identifies the related activity.
리턴 void