Share via


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
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
Public Property MainPrompt As PromptBuilder
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public PromptBuilder MainPrompt { get; set; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)]
public:
property PromptBuilder^ MainPrompt {
    PromptBuilder^ get ();
    void set (PromptBuilder^ value);
}
function get_mainPrompt();
function set_mainPrompt(value);

Exceptions

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

See Also

SpeechQuestionAnswerActivity Class

Microsoft.Rtc.Workflow.Activities Namespace