EventId(Int32, String) 构造函数
定义
public EventId (int id, string name = default);
new Microsoft.Extensions.Logging.EventId : int * string -> Microsoft.Extensions.Logging.EventId
Public Sub New (id As Integer, Optional name As String = Nothing)
参数
- id
- Int32
此事件的数值标识符。The numeric identifier for this event.
- name
- String
此事件的名称。The name of this event.