Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventLogTraceListener::Write Method (String^)

 

Writes a message to the event log for this instance.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
virtual void Write(
	String^ message
) override

Parameters

message
Type: System::String^

The message to write.

Exception Condition
ArgumentException

message exceeds 32,766 characters.

.NET Framework
Available since 1.1
Return to top
Show: