.NET Event Tracing Class Library  

EventTraceRegisteredProvider Class

Represents an event tracing provider that is currently registered at the time the EventTraceProviderCollection collection is created or refreshed.

For a list of all members of this type, see EventTraceRegisteredProvider Members.

System.Object
    WmiSolutions.EventTracing.Controller.EventTraceRegisteredProvider

[Visual Basic]
Public Class EventTraceRegisteredProvider Inherits Object 
[C#]
public class EventTraceRegisteredProvider : Object
[C++]
public __gc class EventTraceRegisteredProvider : public Object

Example

[C#]
    using System;
    using WmiSolutions.EventTracing;
    using WmiSolutions.EventTracing.Controller;

    EventTraceProviderCollection provCollection =
        EventTraceProvider.Providers;
        
    foreach(EventTraceRegisteredProvider prov in provCollection)
    {
        Console.WriteLine("Provider Guid  {0}", prov.ProviderGuid);
	Console.WriteLine( "Provider Name {0}", prov.Name);
	Console.WriteLine("Provider Description {0}", prov.Description);
    }
    
[Visual Basic]
    Imports System
    Imports System
    Imports WmiSolutions.EventTracing
    Imports WmiSolutions.EventTracing.Controller
 
    EventTraceProviderCollection provCollection = 
        EventTraceProvider.Providers
 
    Dim prov As EventTraceRegisteredProvider
    For Each prov In provCollection
        Console.WriteLine("Provider Guid  {0}", prov.ProviderGuid)
        Console.WriteLine("Provider Name {0}",prov.Name)
        Console.WriteLine("Provider Description {0}", prov.Description)
    Next
    

Requirements

Namespace: WmiSolutions.EventTracing.Controller

Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: WmiSolutions.EventTracing.Controller (in WmiSolutions.EventTracing.dll)

 

See Also

EventTraceSessionCollection Members | EventTraceSession Members | EventTraceRegisteredProvider Members | EventTraceProviderCollection Members | EventTraceProvider Members | EventTraceKernelSession Members

Contact Me   |  Developing WMI Solutions    |   Gwyn Cole's Developer Blog    |   Legal
 © 2003 Content by Gwyn Cole. All rights reserved.