WebAssemblyHostBuilder.UseServiceProviderOptions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.