Share via


ConversationalAgentSession.IsInterruptible Property

Definition

Gets whether the ConversationalAgentSession can be interrupted.

public:
 property bool IsInterruptible { bool get(); };
bool IsInterruptible();
public bool IsInterruptible { get; }
var boolean = conversationalAgentSession.isInterruptible;
Public ReadOnly Property IsInterruptible As Boolean

Property Value

Boolean

bool

True, if the ConversationalAgentSession can be interrupted; otherwise, false.

Remarks

Some digital assistant sessions cannot be interrupted by another signal. For example, Cortana requires the user to issue a cancel or stop command to end the current session (the user cannot be in a Cortana session and issue commands to Alexa).

If a session can be interrupted, the Windows Conversational Agent platform raises the SessionInterrupted event to indicate that the digital assistant app should set itself to inactive and stop processing input.

Applies to

See also