IEventLog.WriteEntry(String, EventLogEntryType, Int32, Int16) Method

Definition

This API supports the .NET infrastructure and is not intended to be used directly from your code.

public:
 void WriteEntry(System::String ^ message, System::Diagnostics::EventLogEntryType type, int eventID, short category);
public void WriteEntry (string message, System.Diagnostics.EventLogEntryType type, int eventID, short category);
abstract member WriteEntry : string * System.Diagnostics.EventLogEntryType * int * int16 -> unit
Public Sub WriteEntry (message As String, type As EventLogEntryType, eventID As Integer, category As Short)

Parameters

message
String
eventID
Int32
category
Int16

Applies to