ConversationalAgentSession.RequestInterruptibleAsync(Boolean) 메서드

정의

다른 디지털 도우미 대한 키워드(keyword) 검색된 경우 이 ConversationalAgentSession을 인터럽트할 수 있도록 비동기적으로 요청합니다.

public:
 virtual IAsyncOperation<ConversationalAgentSessionUpdateResponse> ^ RequestInterruptibleAsync(bool interruptible) = RequestInterruptibleAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ConversationalAgentSessionUpdateResponse> RequestInterruptibleAsync(bool const& interruptible);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ConversationalAgentSessionUpdateResponse> RequestInterruptibleAsync(bool interruptible);
function requestInterruptibleAsync(interruptible)
Public Function RequestInterruptibleAsync (interruptible As Boolean) As IAsyncOperation(Of ConversationalAgentSessionUpdateResponse)

매개 변수

interruptible
Boolean

bool

True이면 인터럽트할 수 있습니다. 그렇지 않으면 false입니다.

반환

ConversationalAgentSessionUpdateResponse로 비동기 작업의 결과입니다.

특성

설명

일부 디지털 도우미 세션은 다른 신호에 의해 중단될 수 없습니다. 예를 들어 Cortana는 사용자가 현재 세션을 종료하기 위해 취소 또는 중지 명령을 실행하도록 요구합니다(사용자는 Cortana 세션에 있을 수 없으며 Alexa에 명령을 실행할 수 없음).

세션이 중단될 수 있는 경우 Windows 대화 에이전트 플랫폼은 SessionInterrupted 이벤트를 발생하여 디지털 도우미 앱이 비활성으로 설정하고 입력 처리를 중지해야 함을 나타냅니다.

적용 대상