private CreateCortanaResponse ( string message ) : VoiceCommandResponse | ||
message | string | |
return | VoiceCommandResponse |
private VoiceCommandResponse CreateCortanaResponse(string message)
{
var userMessage = new VoiceCommandUserMessage()
{
DisplayMessage = message,
SpokenMessage = message
};
var response = VoiceCommandResponse.CreateResponse(userMessage);
return response;
}
}