Make Cortana Skill close Cortana canvas

138 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 best solutions below

0
On

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