Partilhar via


SpeechQuestionAnswerActivity.TurnStarting Event

TurnStarting is raised before the prompt is played. Note that for SpeechQuestionAnswerActivity activity the PromptType property is always PromptType.Main.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Event TurnStarting As EventHandler(Of SpeechTurnStartingEventArgs)
'Usage
Dim instance As SpeechQuestionAnswerActivity
Dim handler As EventHandler(Of SpeechTurnStartingEventArgs)

AddHandler instance.TurnStarting, handler
public event EventHandler<SpeechTurnStartingEventArgs> TurnStarting

Exceptions

Exception Condition
ArgumentNullException

Thrown if the argument is null.

ArgumentException

Thrown if the value is of incorrect System.Type.

ArgumentException

Thrown if dependencyEvent is a metaproperty.

ArgumentException

Thrown if dependencyEvent represents a non-event System.Workflow.ComponentModel.DependencyProperty.

ArgumentException

Thrown if dependencyEvent is not an event.

ReadOnlyException

Value is a System.Workflow.ComponentModel.ActivityBind and this instance is not in System.Workflow.ComponentModel.DependencyObject.DesignMode.

Remarks

Application developers can change the prompt by attaching an event handler to this event and providing the prompt in the event args.

See Also

Reference

SpeechQuestionAnswerActivity Class

SpeechQuestionAnswerActivity Members

Microsoft.Rtc.Workflow.Activities Namespace