共用方式為


EventLogLoggerProvider.SetScopeProvider(IExternalScopeProvider) Method

Definition

Sets external scope information source for logger provider.

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)

Parameters

scopeProvider
IExternalScopeProvider

The provider of scope data.

Implements

Applies to