SystemMessageItem Constructors
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.
Overloads
| Name | Description |
|---|---|
| SystemMessageItem(InputTextContentPart) |
Initializes a new instance of SystemMessageItem. |
| SystemMessageItem(IEnumerable<MessageContentPart>) |
Initializes a new instance of SystemMessageItem. |
| SystemMessageItem(String) |
Initializes a new instance of SystemMessageItem with the specified system message text. |
SystemMessageItem(InputTextContentPart)
- Source:
- SystemMessageItem.cs
- Source:
- SystemMessageItem.cs
Initializes a new instance of SystemMessageItem.
public SystemMessageItem(Azure.AI.VoiceLive.InputTextContentPart content);
new Azure.AI.VoiceLive.SystemMessageItem : Azure.AI.VoiceLive.InputTextContentPart -> Azure.AI.VoiceLive.SystemMessageItem
Public Sub New (content As InputTextContentPart)
Parameters
- content
- InputTextContentPart
Exceptions
content is null.
Applies to
SystemMessageItem(IEnumerable<MessageContentPart>)
- Source:
- SystemMessageItem.cs
- Source:
- SystemMessageItem.cs
Initializes a new instance of SystemMessageItem.
public SystemMessageItem(System.Collections.Generic.IEnumerable<Azure.AI.VoiceLive.MessageContentPart> content);
new Azure.AI.VoiceLive.SystemMessageItem : seq<Azure.AI.VoiceLive.MessageContentPart> -> Azure.AI.VoiceLive.SystemMessageItem
Public Sub New (content As IEnumerable(Of MessageContentPart))
Parameters
- content
- IEnumerable<MessageContentPart>
The content parts of the message.
Exceptions
content is null.
Applies to
SystemMessageItem(String)
- Source:
- SystemMessageItem.cs
- Source:
- SystemMessageItem.cs
Initializes a new instance of SystemMessageItem with the specified system message text.
public SystemMessageItem(string systemMessageText);
new Azure.AI.VoiceLive.SystemMessageItem : string -> Azure.AI.VoiceLive.SystemMessageItem
Public Sub New (systemMessageText As String)
Parameters
- systemMessageText
- String
The text of the message