C# Class System.Diagnostics.Events.MessageTraceEvent

Represents a trace event that contains a message.
Inheritance: TraceEvent
Datei anzeigen Open project: netfx/extensions Class Usage Examples

Public Methods

Method Description
MessageTraceEvent ( TraceEventType eventType, int eventId, string message )

Initializes a new instance of the MessageTraceEvent class.

ToString ( ) : string

Returns a System.String that represents this instance.

Protected Methods

Method Description
MessageTraceEvent ( TraceEventType eventType, int eventId, Lazy message )

Used by derived classes to provide a lazy-calculated value for the MessageOrFormat property.

Method Details

MessageTraceEvent() protected method

Used by derived classes to provide a lazy-calculated value for the MessageOrFormat property.
protected MessageTraceEvent ( TraceEventType eventType, int eventId, Lazy message )
eventType TraceEventType
eventId int
message Lazy

MessageTraceEvent() public method

Initializes a new instance of the MessageTraceEvent class.
public MessageTraceEvent ( TraceEventType eventType, int eventId, string message )
eventType TraceEventType
eventId int
message string

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string