BackgroundTasks.LightControllerVoiceCommandService.CreateCortanaResponse C# (CSharp) Method

CreateCortanaResponse() private method

Helper method for creating a message for Cortana to speak and write to the user.
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;
        }
    }