SpeechToTextClientBuilderSpeechToTextClientExtensions.AsBuilder 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 a new SpeechToTextClientBuilder using innerClient
as its inner client.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::AI::SpeechToTextClientBuilder ^ AsBuilder(Microsoft::Extensions::AI::ISpeechToTextClient ^ innerClient);
public static Microsoft.Extensions.AI.SpeechToTextClientBuilder AsBuilder(this Microsoft.Extensions.AI.ISpeechToTextClient innerClient);
static member AsBuilder : Microsoft.Extensions.AI.ISpeechToTextClient -> Microsoft.Extensions.AI.SpeechToTextClientBuilder
<Extension()>
Public Function AsBuilder (innerClient As ISpeechToTextClient) As SpeechToTextClientBuilder
Parameters
- innerClient
- ISpeechToTextClient
The client to use as the inner client.
Returns
The new SpeechToTextClientBuilder instance.
Remarks
This method is equivalent to using the SpeechToTextClientBuilder constructor directly, specifying innerClient
as the inner client.
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.