WebManagementEventLog 类

定义

允许将信息写入 Windows 事件日志。

public ref class WebManagementEventLog abstract sealed
public static class WebManagementEventLog
type WebManagementEventLog = class
Public Class WebManagementEventLog
继承
WebManagementEventLog

方法

Write(Int32, String)

将事件 ID 和消息写入 Windows 事件日志。

Write(Int32, String, String, String, Exception)

将事件 ID、错误消息、连接名称、连接用户和异常写入 Windows 事件日志。

Write(Int32, String, String, String, Exception, EventLogEntryType)

将事件 ID、错误消息、连接名称、连接用户、异常和事件日志条目类型写入 Windows 事件日志。

Write(String, EventLogEntryType, Int32)

将事件日志消息、条目类型和事件 ID 写入 Windows 事件日志。

适用于