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.

Rodri
  • 8,646
  • 19
  • 104
  • 235

0 Answers0