共用方式為


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

範圍資料的提供者。

實作

適用於