ProviderMetadata ProviderMetadata ProviderMetadata ProviderMetadata Class

Definition

Contains static information about an event provider, such as the name and id of the provider, and the collection of events defined in the provider.

public ref class ProviderMetadata : IDisposable
public class ProviderMetadata : IDisposable
type ProviderMetadata = class
    interface IDisposable
Public Class ProviderMetadata
Implements IDisposable
Inheritance
ProviderMetadataProviderMetadataProviderMetadataProviderMetadata
Implements

Examples

For example code using this class, see How to: Retrieve Information About an Event Publisher.

Constructors

ProviderMetadata(String) ProviderMetadata(String) ProviderMetadata(String) 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) ProviderMetadata(String, EventLogSession, CultureInfo) ProviderMetadata(String, EventLogSession, CultureInfo) 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.

Properties

DisplayName DisplayName DisplayName DisplayName

Gets the localized name of the event provider.

Events Events Events Events

Gets an enumerable collection of EventMetadata objects, each of which represents an event that is defined in the provider.

HelpLink HelpLink HelpLink HelpLink

Gets the base of the URL used to form help requests for the events in this event provider.

Id Id Id Id

Gets the globally unique identifier (GUID) for the event provider.

Keywords Keywords Keywords Keywords

Gets an enumerable collection of EventKeyword objects, each of which represent an event keyword that is defined in the event provider.

Levels Levels Levels Levels

Gets an enumerable collection of EventLevel objects, each of which represent a level that is defined in the event provider.

LogLinks LogLinks LogLinks LogLinks

Gets an enumerable collection of EventLogLink objects, each of which represent a link to an event log that is used by the event provider.

MessageFilePath MessageFilePath MessageFilePath MessageFilePath

Gets the path of the file that contains the message table resource that has the strings associated with the provider metadata.

Name Name Name Name

Gets the unique name of the event provider.

Opcodes Opcodes Opcodes Opcodes

Gets an enumerable collection of EventOpcode objects, each of which represent an opcode that is defined in the event provider.

ParameterFilePath ParameterFilePath ParameterFilePath ParameterFilePath

Gets the path of the file that contains the message table resource that has the strings used for parameter substitutions in event descriptions.

ResourceFilePath ResourceFilePath ResourceFilePath ResourceFilePath

Gets the path to the file that contains the metadata associated with the provider.

Tasks Tasks Tasks Tasks

Gets an enumerable collection of EventTask objects, each of which represent a task that is defined in the event provider.

Methods

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

Releases all the resources used by this object.

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

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()

Gets the Type of the current instance.

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

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)

Applies to

See also