Make Cortana Skill close Cortana canvas

108 views Asked by At

is there a possibility to make the Cortana Skill close the Cortana Canvas itself?

I've tried

var completeMessage = context.MakeMessage();
completeMessage.Type = ActivityTypes.EndOfConversation;
completeMessage.AsEndOfConversationActivity().Code = EndOfConversationCodes.CompletedSuccessfully;
await context.PostAsync(completeMessage);

but it doesn't help.

Any suggestions?

1

There are 1 answers

0
Steven On

There is not a way for developers to close the Cortana canvas.