WindowsEventLog.WriteEntry(String, EventLogEntryType, Int32, Int16) Methode

Definition

Diese API unterstützt die .NET-Infrastruktur und sollte nicht direkt aus dem Code verwendet werden.

public:
 virtual 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
override this.WriteEntry : string * System.Diagnostics.EventLogEntryType * int * int16 -> unit
Public Sub WriteEntry (message As String, type As EventLogEntryType, eventID As Integer, category As Short)

Parameter

message
String
eventID
Int32
category
Int16

Implementiert

Gilt für: