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: