Share via


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
public PromptBuilder MainPrompt { get; set; }
public:
property PromptBuilder^ MainPrompt {
    PromptBuilder^ get ();
    void set (PromptBuilder^ value);
}
function set_mainPrompt(value);

Exceptions

Exception Condition
System.InvalidOperationException Thrown if trying to replace the property at runtime.

See Also

SpeechQuestionAnswerActivity Class

Microsoft.Rtc.Workflow.Activities Namespace