AzureComponentFactory.CreateClientOptions 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.
Creates an instance of a client options type while applying the global and configuration settings to it.
public abstract object CreateClientOptions (Type optionsType, object serviceVersion, Microsoft.Extensions.Configuration.IConfiguration configuration);
abstract member CreateClientOptions : Type * obj * Microsoft.Extensions.Configuration.IConfiguration -> obj
Public MustOverride Function CreateClientOptions (optionsType As Type, serviceVersion As Object, configuration As IConfiguration) As Object
Parameters
- optionsType
- Type
Type of the options.
- serviceVersion
- Object
The value of ServiceVersion enum to use, null to use the default.
- configuration
- IConfiguration
The IConfiguration instance to apply to options.
Returns
A new instance of optionsType
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET