Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Invalid constructor invocation

$
0
0
Hi furesoft,

You're exposing an object - an instance of the XmlHttpRequest class. For the new operator to work, you need to expose the class itself:
se.AddHostType("XmlHttpRequest", typeof(XmlHttpRequest));
Good luck!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles



Latest Images