RealtimeSessionKind(String) 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 RealtimeSessionKind struct with the provided value.
public:
RealtimeSessionKind(System::String ^ value);
[System.Text.Json.Serialization.JsonConstructor]
public RealtimeSessionKind(string value);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.Extensions.AI.RealtimeSessionKind : string -> Microsoft.Extensions.AI.RealtimeSessionKind
Public Sub New (value As String)
Parameters
- value
- String
The value to associate with this RealtimeSessionKind.
- Attributes
Exceptions
value is null or whitespace.