VoiceCommandConfirmationResult Klasse

Definition

Die Antwort auf die Frage, die von der Hintergrund-App angegeben und auf dem Cortana-Bestätigungsbildschirm angezeigt wird. Dieser Bildschirm wird angezeigt, wenn der Hintergrund-App-Dienst RequestConfirmationAsync aufruft.

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
Vererbung
Object Platform::Object IInspectable VoiceCommandConfirmationResult
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Greifen Sie auf das VoiceCommandConfirmationResult-Objekt zu, indem Sie RequestConfirmationAsync für eine VoiceCommandServiceConnection aufrufen, die auf das entsprechende Windows.ApplicationModel.AppService-Objekt verweist.

Eigenschaften

Confirmed

Ruft die Antwort auf die Frage ab, die von der Hintergrund-App angegeben und auf dem Cortana-Bestätigungsbildschirm angezeigt wird.

Gilt für:

Weitere Informationen