ProviderMetadata Class

ProviderMetadata Class

 

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.

Namespace:   System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

System.Object
  System.Diagnostics.Eventing.Reader.ProviderMetadata

[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public class ProviderMetadata : IDisposable

NameDescription
System_CAPS_pubmethodProviderMetadata(String)

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

System_CAPS_pubmethodProviderMetadata(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.

NameDescription
System_CAPS_pubpropertyDisplayName

Gets the localized name of the event provider.

System_CAPS_pubpropertyEvents

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

System_CAPS_pubpropertyHelpLink

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

System_CAPS_pubpropertyId

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

System_CAPS_pubpropertyKeywords

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

System_CAPS_pubpropertyLevels

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

System_CAPS_pubpropertyLogLinks

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

System_CAPS_pubpropertyMessageFilePath

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

System_CAPS_pubpropertyName

Gets the unique name of the event provider.

System_CAPS_pubpropertyOpcodes

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

System_CAPS_pubpropertyParameterFilePath

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

System_CAPS_pubpropertyResourceFilePath

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

System_CAPS_pubpropertyTasks

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

NameDescription
System_CAPS_pubmethodDispose()

Releases all the resources used by this object.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by this object, and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios

Return to top
Show:
© 2016 Microsoft