Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TurnStarting Event
Collapse the table of content
Expand the table of content

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)

function add_turnStarting(value);
function remove_turnStarting(value);

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

ExceptionCondition
ArgumentNullExceptionThrown if the argument is null.
ArgumentExceptionThrown if the value is of incorrect System.Type.
ArgumentExceptionThrown if dependencyEvent is a metaproperty.
ArgumentExceptionThrown if dependencyEvent represents a non-event System.Workflow.ComponentModel.DependencyProperty.
ArgumentExceptionThrown if dependencyEvent is not an event.
ReadOnlyExceptionValue is a System.Workflow.ComponentModel.ActivityBind and this instance is not in System.Workflow.ComponentModel.DependencyObject.DesignMode.
Show:
© 2015 Microsoft