共用方式為


ISupportExternalScope.SetScopeProvider(IExternalScopeProvider) Method

Definition

Sets external scope information source for logger provider.

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

Parameters

scopeProvider
IExternalScopeProvider

The provider of scope data.

Applies to