SilenceHistoryItem Class

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Indicates that the user stayed silent after being prompted.

Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
Public Class SilenceHistoryItem
    Inherits HistoryItem
public class SilenceHistoryItem : HistoryItem

Remarks

A user can be prompted by several activities, such as GetAndConfirmActivity, QuestionAnswerActivity, MenuActivity, NavigableListActivity, RecordMessageActivity, and RecordAudioActivity. If one of these activities plays its main prompt (see MainPrompt) and does not detect a response from the user, the activity can play a silence prompt (see SilencePrompt) that can provide more guidance to the user. If the user still does not respond, the activity can play an escalated silence prompt (see EscalatedSilencePrompt). If the user remains silent, the activity can play the escalated silence prompt again, depending on the number of silent responses the activity permits.

Each time an application prompts the user but receives no response, the application creates a new SilenceHistoryItem instance. Applications can specify the number of silent responses they can handle and control the number of consecutive silences they can handle by using a ConsecutiveSilencesSpeechEventActivity, which has a MaximumSilences property that can be set.

Inheritance Hierarchy

System.Object
???? Microsoft.SpeechServer.Dialog.HistoryItem
????????Microsoft.SpeechServer.Dialog.SilenceHistoryItem

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

SilenceHistoryItem Members
Microsoft.SpeechServer.Dialog Namespace