Edit

Share via


ProviderMetadata Constructors

Definition

Initializes a new instance of the ProviderMetadata class.

Overloads

ProviderMetadata(String)

Initializes a new instance of the ProviderMetadata class by specifying the name of the provider that you want to retrieve information about.

ProviderMetadata(String, EventLogSession, CultureInfo)

Initializes a new instance of the ProviderMetadata class by specifying the name of the provider that you want to retrieve information about, the event log service that the provider is registered with, and the language that you want to return the information in.

ProviderMetadata(String)

Source:
ProviderMetadata.cs
Source:
ProviderMetadata.cs
Source:
ProviderMetadata.cs

Initializes a new instance of the ProviderMetadata class by specifying the name of the provider that you want to retrieve information about.

public:
 ProviderMetadata(System::String ^ providerName);
public ProviderMetadata (string providerName);
new System.Diagnostics.Eventing.Reader.ProviderMetadata : string -> System.Diagnostics.Eventing.Reader.ProviderMetadata
Public Sub New (providerName As String)

Parameters

providerName
String

The name of the event provider that you want to retrieve information about.

See also

Applies to

ProviderMetadata(String, EventLogSession, CultureInfo)

Source:
ProviderMetadata.cs
Source:
ProviderMetadata.cs
Source:
ProviderMetadata.cs

Initializes a new instance of the ProviderMetadata class by specifying the name of the provider that you want to retrieve information about, the event log service that the provider is registered with, and the language that you want to return the information in.

public:
 ProviderMetadata(System::String ^ providerName, System::Diagnostics::Eventing::Reader::EventLogSession ^ session, System::Globalization::CultureInfo ^ targetCultureInfo);
public ProviderMetadata (string providerName, System.Diagnostics.Eventing.Reader.EventLogSession session, System.Globalization.CultureInfo targetCultureInfo);
new System.Diagnostics.Eventing.Reader.ProviderMetadata : string * System.Diagnostics.Eventing.Reader.EventLogSession * System.Globalization.CultureInfo -> System.Diagnostics.Eventing.Reader.ProviderMetadata
Public Sub New (providerName As String, session As EventLogSession, targetCultureInfo As CultureInfo)

Parameters

providerName
String

The name of the event provider that you want to retrieve information about.

session
EventLogSession

The EventLogSession object that specifies whether to get the provider information from a provider on the local computer or a provider on a remote computer.

targetCultureInfo
CultureInfo

The culture that specifies the language that the information should be returned in.

See also

Applies to