LocalTraceConfiguration 类

定义

public class LocalTraceConfiguration : IDisposable, Microsoft.VisualStudio.LogHub.ITraceConfiguration
type LocalTraceConfiguration = class
    interface ITraceConfiguration
    interface IDisposable
Public Class LocalTraceConfiguration
Implements IDisposable, ITraceConfiguration
继承
LocalTraceConfiguration
实现

构造函数

LocalTraceConfiguration()

方法

Dispose()
Dispose(Boolean)
RegisterLogSource(LogId, LoggerOptions, TraceSource)

向跟踪中心注册新的日志流,并将其公开给请求客户端。

RegisterLogSource(LogId, LoggerOptions)

向跟踪中心注册新的日志流,并将其公开给请求客户端。

RegisterLogSourceAsync(LogId, LoggerOptions, CancellationToken)

向跟踪中心注册新的日志流,并将其公开给请求客户端。

RegisterLogSourceAsync(LogId, LoggerOptions, TraceSource, CancellationToken)

向跟踪中心注册新的日志流,并将其公开给请求客户端。

适用于