共用方式為


VoiceCommandConfirmationResult 類別

定義

背景應用程式所指定問題的回應,並顯示在 Cortana 確認畫面上。 當背景 App Service 呼叫 RequestConfirmationAsync時,會顯示此畫面。

public ref class VoiceCommandConfirmationResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandConfirmationResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandConfirmationResult
Public NotInheritable Class VoiceCommandConfirmationResult
繼承
Object Platform::Object IInspectable VoiceCommandConfirmationResult
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

在參考適當Windows.ApplicationModel.AppService物件的VoiceCommandServiceConnection上呼叫RequestConfirmationAsync,以存取 VoiceCommandConfirmationResult 物件。

屬性

Confirmed

取得背景應用程式所指定問題的回應,並在 Cortana 確認畫面上顯示。

適用於

另請參閱