Share via


TraceLoggingService Class

Represents a trace logger service.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.IntelliTrace.TraceLoggingService

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)

Syntax

'Declaration
Public NotInheritable Class TraceLoggingService _
    Implements IDisposable
public sealed class TraceLoggingService : IDisposable
public ref class TraceLoggingService sealed : IDisposable
[<Sealed>]
type TraceLoggingService =  
    class 
        interface IDisposable 
    end
public final class TraceLoggingService implements IDisposable

The TraceLoggingService type exposes the following members.

Constructors

  Name Description
Public method TraceLoggingService() Creates an instance of the trace logger service in the current process.
Public method TraceLoggingService(TraceLoggingService.GetPropertyDelegate) Creates an instance of the trace logger service in the current process.

Top

Properties

  Name Description
Public property ExpectedProcesses Gets the active list of expected processes
Public property TraceLoggingSessions Gets a snapshot collection of active trace logging sessions.

Top

Methods

  Name Description
Public method BeginStart Begins an asynchronous start of the service.
Public method BeginStop Begins an asynchronous stop of the service.
Public method Dispose Disposes this object, stopping the service if it is running.
Public method EndStart Waits for the pending asynchronous start to finish.
Public method EndStop Waits for the pending asynchronous stop to finish.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Start Starts the service.
Public method Stop Stops the service.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event Activity Activity event. Notifies the caller of server activity.
Public event ExceptionEvent Exception event, which is called when an exception event is written from the monitored process.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.IntelliTrace Namespace