แก้ไข

แชร์ผ่าน


EventProviderTraceListener Constructors

Definition

Initializes a new instance of the EventProviderTraceListener class.

Overloads

EventProviderTraceListener(String)

Initializes a new instance of the EventProviderTraceListener class using the specified provider identifier.

EventProviderTraceListener(String, String)

Initializes a new instance of the EventProviderTraceListener class using the specified provider identifier and name of the listener.

EventProviderTraceListener(String, String, String)

Initializes a new instance of the EventProviderTraceListener class using the specified provider identifier, name of the listener, and delimiter.

EventProviderTraceListener(String)

Initializes a new instance of the EventProviderTraceListener class using the specified provider identifier.

public:
 EventProviderTraceListener(System::String ^ providerId);
public EventProviderTraceListener (string providerId);
new System.Diagnostics.Eventing.EventProviderTraceListener : string -> System.Diagnostics.Eventing.EventProviderTraceListener
Public Sub New (providerId As String)

Parameters

providerId
String

A unique string Guid that identifies the provider.

Applies to

EventProviderTraceListener(String, String)

Initializes a new instance of the EventProviderTraceListener class using the specified provider identifier and name of the listener.

public:
 EventProviderTraceListener(System::String ^ providerId, System::String ^ name);
public EventProviderTraceListener (string providerId, string name);
new System.Diagnostics.Eventing.EventProviderTraceListener : string * string -> System.Diagnostics.Eventing.EventProviderTraceListener
Public Sub New (providerId As String, name As String)

Parameters

providerId
String

A unique string Guid that identifies the provider.

name
String

Name of the listener.

Applies to

EventProviderTraceListener(String, String, String)

Initializes a new instance of the EventProviderTraceListener class using the specified provider identifier, name of the listener, and delimiter.

public:
 EventProviderTraceListener(System::String ^ providerId, System::String ^ name, System::String ^ delimiter);
public EventProviderTraceListener (string providerId, string name, string delimiter);
new System.Diagnostics.Eventing.EventProviderTraceListener : string * string * string -> System.Diagnostics.Eventing.EventProviderTraceListener
Public Sub New (providerId As String, name As String, delimiter As String)

Parameters

providerId
String

A unique string Guid that identifies the provider.

name
String

Name of the listener.

delimiter
String

Delimiter used to delimit the event data. (For more details, see the Delimiter property.)

Applies to