C# Class System.Diagnostics.XmlWriterTraceListener

Inheritance: TextWriterTraceListener
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Fail ( string message, string detailMessage ) : void
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, string format ) : void
TraceTransfer ( TraceEventCache eventCache, String source, int id, string message, System.Guid relatedActivityId ) : void
Write ( string message ) : void
WriteLine ( string message ) : void
XmlWriterTraceListener ( Stream stream ) : System
XmlWriterTraceListener ( Stream stream, string name ) : System
XmlWriterTraceListener ( TextWriter writer ) : System
XmlWriterTraceListener ( TextWriter writer, string name ) : System

Private Methods

Method Description
InternalWrite ( string message ) : void
WriteData ( object data ) : void
WriteEndHeader ( TraceEventCache eventCache ) : void
WriteEscaped ( string str ) : void
WriteFooter ( TraceEventCache eventCache ) : void
WriteHeader ( String source, TraceEventType eventType, int id, TraceEventCache eventCache ) : void
WriteHeader ( String source, TraceEventType eventType, int id, TraceEventCache eventCache, System.Guid relatedActivityId ) : void
WriteStartHeader ( String source, TraceEventType eventType, int id, TraceEventCache eventCache ) : void
XmlWriterTraceListener ( string filename ) : System
XmlWriterTraceListener ( string filename, string name ) : System

Method Details

Close() public method

public Close ( ) : void
return void

Fail() public method

public Fail ( string message, string detailMessage ) : void
message string
detailMessage string
return void

TraceData() public method

public TraceData ( TraceEventCache eventCache, String source, TraceEventType eventType, int id ) : void
eventCache TraceEventCache
source String
eventType TraceEventType
id int
return void

TraceData() public method

public TraceData ( TraceEventCache eventCache, String source, TraceEventType eventType, int id, object data ) : void
eventCache TraceEventCache
source String
eventType TraceEventType
id int
data object
return void

TraceEvent() public method

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

TraceTransfer() public method

public TraceTransfer ( TraceEventCache eventCache, String source, int id, string message, System.Guid relatedActivityId ) : void
eventCache TraceEventCache
source String
id int
message string
relatedActivityId System.Guid
return void

Write() public method

public Write ( string message ) : void
message string
return void

WriteLine() public method

public WriteLine ( string message ) : void
message string
return void

XmlWriterTraceListener() public method

public XmlWriterTraceListener ( Stream stream ) : System
stream Stream
return System

XmlWriterTraceListener() public method

public XmlWriterTraceListener ( Stream stream, string name ) : System
stream Stream
name string
return System

XmlWriterTraceListener() public method

public XmlWriterTraceListener ( TextWriter writer ) : System
writer System.IO.TextWriter
return System

XmlWriterTraceListener() public method

public XmlWriterTraceListener ( TextWriter writer, string name ) : System
writer System.IO.TextWriter
name string
return System