VoiceCommandUserMessage VoiceCommandUserMessage VoiceCommandUserMessage VoiceCommandUserMessage Class

Definition

The message that is spoken by Cortana and shown on the Cortana canvas.

This message should be:

public : sealed class VoiceCommandUserMessage : IVoiceCommandUserMessagepublic sealed class VoiceCommandUserMessage : IVoiceCommandUserMessagePublic NotInheritable Class VoiceCommandUserMessage Implements IVoiceCommandUserMessage// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

VoiceCommandUserMessage() VoiceCommandUserMessage() VoiceCommandUserMessage() VoiceCommandUserMessage()

Creates an instance of the VoiceCommandUserMessage class.

public : VoiceCommandUserMessage()public VoiceCommandUserMessage()Public Sub New()// You can use this method in JavaScript.
See Also

Properties

DisplayMessage DisplayMessage DisplayMessage DisplayMessage

Gets or sets the message that is shown on the Cortana canvas.

public : PlatForm::String DisplayMessage { get; set; }public string DisplayMessage { get; set; }Public ReadWrite Property DisplayMessage As string// You can use this property in JavaScript.
Value
PlatForm::String string string string
See Also

SpokenMessage SpokenMessage SpokenMessage SpokenMessage

The message that is spoken by Cortana.

public : PlatForm::String SpokenMessage { get; set; }public string SpokenMessage { get; set; }Public ReadWrite Property SpokenMessage As string// You can use this property in JavaScript.
Value
PlatForm::String string string string
See Also

See Also