0

I am trying to copy a text to a clipboard using below command:

Clipboard.SetText(textToCopy);

but an exception is thrown:

enter image description here

Anyway, text is correctly copied to clipboard. I can catch the exception so the user does not see it but I would like to know what is happening.

Willy
  • 9,848
  • 22
  • 141
  • 284

0 Answers0