SpeechQuestionAnswerActivity.MainPrompt Property
Gets or sets the prompt that plays when the activity is executed.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Property MainPrompt As PromptBuilder
Get
Set
'Usage
Dim instance As SpeechQuestionAnswerActivity
Dim value As PromptBuilder
value = instance.MainPrompt
instance.MainPrompt = value
public PromptBuilder MainPrompt { get; set; }
Property Value
Type: Microsoft.Speech.Synthesis.PromptBuilder
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if trying to replace the property at runtime. |
See Also
Reference
SpeechQuestionAnswerActivity Class