VoiceCommandResponse.Message Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The initial message that is spoken by Cortana and shown on the Cortana canvas.
This message should be:
- An informative statement on progress, completion, and error screens (see ReportProgressAsync, ReportSuccessAsync, ReportFailureAsync).
- An unambiguous question that can be answered with either yes or no on confirmation screens (see RequestConfirmationAsync).
- A request for the user to select from the list of choices presented on disambiguation screens (see RequestDisambiguationAsync).
public:
property VoiceCommandUserMessage ^ Message { VoiceCommandUserMessage ^ get(); void set(VoiceCommandUserMessage ^ value); };
VoiceCommandUserMessage Message();
void Message(VoiceCommandUserMessage value);
public VoiceCommandUserMessage Message { get; set; }
var voiceCommandUserMessage = voiceCommandResponse.message;
voiceCommandResponse.message = voiceCommandUserMessage;
Public Property Message As VoiceCommandUserMessage
Property Value
The message that is spoken or shown by Cortana.