Share via


WebAssemblyHostBuilder.UseServiceProviderOptions Method

Definition

Configures the service provider options for this host builder.

public Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder UseServiceProviderOptions(Microsoft.Extensions.DependencyInjection.ServiceProviderOptions options);
member this.UseServiceProviderOptions : Microsoft.Extensions.DependencyInjection.ServiceProviderOptions -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder
Public Function UseServiceProviderOptions (options As ServiceProviderOptions) As WebAssemblyHostBuilder

Parameters

options
ServiceProviderOptions

The service provider options to use.

Returns

Applies to