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 | |
---|---|---|
TraceLoggingService() | Creates an instance of the trace logger service in the current process. | |
TraceLoggingService(TraceLoggingService.GetPropertyDelegate) | Creates an instance of the trace logger service in the current process. |
Top
Properties
Name | Description | |
---|---|---|
ExpectedProcesses | Gets the active list of expected processes | |
TraceLoggingSessions | Gets a snapshot collection of active trace logging sessions. |
Top
Methods
Name | Description | |
---|---|---|
BeginStart | Begins an asynchronous start of the service. | |
BeginStop | Begins an asynchronous stop of the service. | |
Dispose | Disposes this object, stopping the service if it is running. | |
EndStart | Waits for the pending asynchronous start to finish. | |
EndStop | Waits for the pending asynchronous stop to finish. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Start | Starts the service. | |
Stop | Stops the service. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
Activity | Activity event. Notifies the caller of server activity. | |
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.