ConsoleLoggerProvider.SetScopeProvider(IExternalScopeProvider) 方法

定义

设置记录器提供程序的外部范围信息源。

public:
 virtual void SetScopeProvider(Microsoft::Extensions::Logging::IExternalScopeProvider ^ scopeProvider);
public void SetScopeProvider (Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider);
abstract member SetScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider -> unit
override this.SetScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider -> unit
Public Sub SetScopeProvider (scopeProvider As IExternalScopeProvider)

参数

scopeProvider
IExternalScopeProvider

范围数据的提供程序。

实现

适用于