Share via


AzureComponentFactory.CreateClientOptions Method

Definition

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