ConfigureOptionsSpeechToTextClient Constructor
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.
Initializes a new instance of the ConfigureOptionsSpeechToTextClient class with the specified configure callback.
public:
ConfigureOptionsSpeechToTextClient(Microsoft::Extensions::AI::ISpeechToTextClient ^ innerClient, Action<Microsoft::Extensions::AI::SpeechToTextOptions ^> ^ configure);
public ConfigureOptionsSpeechToTextClient(Microsoft.Extensions.AI.ISpeechToTextClient innerClient, Action<Microsoft.Extensions.AI.SpeechToTextOptions> configure);
new Microsoft.Extensions.AI.ConfigureOptionsSpeechToTextClient : Microsoft.Extensions.AI.ISpeechToTextClient * Action<Microsoft.Extensions.AI.SpeechToTextOptions> -> Microsoft.Extensions.AI.ConfigureOptionsSpeechToTextClient
Public Sub New (innerClient As ISpeechToTextClient, configure As Action(Of SpeechToTextOptions))
Parameters
- innerClient
- ISpeechToTextClient
The inner client.
- configure
- Action<SpeechToTextOptions>
The delegate to invoke to configure the SpeechToTextOptions instance. It is passed a clone of the caller-supplied SpeechToTextOptions instance
(or a newly constructed instance if the caller-supplied instance is null).
Remarks
The configure delegate is passed either a new instance of SpeechToTextOptions if the caller didn't supply a SpeechToTextOptions instance, or a clone (via Clone() of the caller-supplied instance if one was supplied.