ConfigureOptionsTextToSpeechClient Class
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.
Represents a delegating text to speech client that configures a TextToSpeechOptions instance used by the remainder of the pipeline.
public ref class ConfigureOptionsTextToSpeechClient sealed : Microsoft::Extensions::AI::DelegatingTextToSpeechClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class ConfigureOptionsTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
public sealed class ConfigureOptionsTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ConfigureOptionsTextToSpeechClient = class
inherit DelegatingTextToSpeechClient
type ConfigureOptionsTextToSpeechClient = class
inherit DelegatingTextToSpeechClient
Public NotInheritable Class ConfigureOptionsTextToSpeechClient
Inherits DelegatingTextToSpeechClient
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| ConfigureOptionsTextToSpeechClient(ITextToSpeechClient, Action<TextToSpeechOptions>) |
Initializes a new instance of the ConfigureOptionsTextToSpeechClient class with the specified |
Properties
| Name | Description |
|---|---|
| InnerClient |
Gets the inner ITextToSpeechClient. (Inherited from DelegatingTextToSpeechClient) |
Methods
| Name | Description |
|---|---|
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from DelegatingTextToSpeechClient) |
| Dispose(Boolean) |
Provides a mechanism for releasing unmanaged resources. (Inherited from DelegatingTextToSpeechClient) |
| GetAudioAsync(String, TextToSpeechOptions, CancellationToken) | |
| GetService(Type, Object) |
Asks the ITextToSpeechClient for an object of the specified type |
| GetStreamingAudioAsync(String, TextToSpeechOptions, CancellationToken) | |
Extension Methods
| Name | Description |
|---|---|
| AsBuilder(ITextToSpeechClient) |
Creates a new TextToSpeechClientBuilder using |
| GetService<TService>(ITextToSpeechClient, Object) |
Asks the ITextToSpeechClient for an object of type |