EventLogQuery 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
EventLogQuery 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| EventLogQuery(String, PathType) |
쿼리의 대상을 지정하여 EventLogQuery 클래스의 새 인스턴스를 초기화합니다. 대상은 활성 이벤트 로그 또는 로그 파일일 수 있습니다. |
| EventLogQuery(String, PathType, String) |
쿼리의 대상과 이벤트 쿼리를 지정하여 EventLogQuery 클래스의 새 인스턴스를 초기화합니다. 대상은 활성 이벤트 로그 또는 로그 파일일 수 있습니다. |
EventLogQuery(String, PathType)
쿼리의 대상을 지정하여 EventLogQuery 클래스의 새 인스턴스를 초기화합니다. 대상은 활성 이벤트 로그 또는 로그 파일일 수 있습니다.
public:
EventLogQuery(System::String ^ path, System::Diagnostics::Eventing::Reader::PathType pathType);
public EventLogQuery(string path, System.Diagnostics.Eventing.Reader.PathType pathType);
new System.Diagnostics.Eventing.Reader.EventLogQuery : string * System.Diagnostics.Eventing.Reader.PathType -> System.Diagnostics.Eventing.Reader.EventLogQuery
Public Sub New (path As String, pathType As PathType)
매개 변수
- path
- String
쿼리할 이벤트 로그의 이름 또는 쿼리할 이벤트 로그 파일의 경로입니다.
- pathType
- PathType
경로 매개 변수에 사용된 문자열이 이벤트 로그의 이름 또는 이벤트 로그 파일의 경로를 지정하는지 여부를 지정합니다.
추가 정보
적용 대상
EventLogQuery(String, PathType, String)
쿼리의 대상과 이벤트 쿼리를 지정하여 EventLogQuery 클래스의 새 인스턴스를 초기화합니다. 대상은 활성 이벤트 로그 또는 로그 파일일 수 있습니다.
public:
EventLogQuery(System::String ^ path, System::Diagnostics::Eventing::Reader::PathType pathType, System::String ^ query);
public EventLogQuery(string path, System.Diagnostics.Eventing.Reader.PathType pathType, string query);
new System.Diagnostics.Eventing.Reader.EventLogQuery : string * System.Diagnostics.Eventing.Reader.PathType * string -> System.Diagnostics.Eventing.Reader.EventLogQuery
Public Sub New (path As String, pathType As PathType, query As String)
매개 변수
- path
- String
쿼리할 이벤트 로그의 이름 또는 쿼리할 이벤트 로그 파일의 경로입니다.
- pathType
- PathType
경로 매개 변수에 사용된 문자열이 이벤트 로그의 이름 또는 이벤트 로그 파일의 경로를 지정하는지 여부를 지정합니다.
- query
- String
쿼리 조건과 일치하는 이벤트를 검색하는 데 사용되는 이벤트 쿼리입니다.