次の方法で共有


TraceLoggingService Class

Definition

Represents a trace logger service.

public ref class TraceLoggingService sealed : IDisposable
public sealed class TraceLoggingService : IDisposable
type TraceLoggingService = class
    interface IDisposable
Public NotInheritable Class TraceLoggingService
Implements IDisposable
Inheritance
TraceLoggingService
Implements

Constructors

TraceLoggingService()

Create an instance of the trace logger service in the current process.

TraceLoggingService(TraceLoggingService+GetPropertyDelegate)

Create an instance of the trace logger service in the current process.

Properties

ExpectedProcesses

Gets the active list of expected processes

TraceLoggingSessions

Gets a snapshot collection of active trace logging sessions

Methods

BeginStart(AsyncCallback, Object)

Begins an asynchronous start of the service

BeginStop(AsyncCallback, Object)

Begins an asynchronous stop of the service.

Dispose()

Disposes this object, stopping the service if it is running.

EndStart(IAsyncResult)

Waits for the pending asynchronous start to complete.

EndStop(IAsyncResult)

Waits for the pending asynchronous stop to complete.

Start()

Starts the service.

Stop()

Stops the service.

Events

Activity

Activity event. Notifies the caller of server activity.

ExceptionEvent

Exception event, called when an exception event is written from the monitored process.

Applies to