EventLogPropertySelector EventLogPropertySelector EventLogPropertySelector EventLogPropertySelector Class

定義

包含字串陣列,這些字串表示對事件 (以事件結構描述為基準) 之 XML 表示中項目的 XPath 查詢。Contains an array of strings that represent XPath queries for elements in the XML representation of an event, which is based on the Event Schema. 這個物件中的查詢可用來擷取事件的值。The queries in this object are used to extract values from the event.

public ref class EventLogPropertySelector : IDisposable
public class EventLogPropertySelector : IDisposable
type EventLogPropertySelector = class
    interface IDisposable
Public Class EventLogPropertySelector
Implements IDisposable
繼承
EventLogPropertySelectorEventLogPropertySelectorEventLogPropertySelectorEventLogPropertySelector
實作

備註

這個物件可以保存要使用的字串做為必要或前置處理以做好擷取字串。This object can keep the string to be used as required or preprocess the strings to prepare them for extraction. 事件處理迴圈之前,可以完成這項準備作業。This preparation can be done before an event processing loop.

建構函式

EventLogPropertySelector(IEnumerable<String>) EventLogPropertySelector(IEnumerable<String>) EventLogPropertySelector(IEnumerable<String>) EventLogPropertySelector(IEnumerable<String>)

初始化新的 EventLogPropertySelector 類別執行個體。Initializes a new EventLogPropertySelector class instance.

方法

Dispose() Dispose() Dispose() Dispose()

釋放這個物件所使用的所有資源。Releases all the resources used by this object.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

釋放這個物件所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by this object, and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於

另請參閱