共用方式為


BatchingLoggerProvider.ISupportExternalScope.SetScopeProvider Method

Definition

Sets the scope on this provider.

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

Parameters

scopeProvider
IExternalScopeProvider

Provides the scope.

Implements

Applies to