How can .GetType cause exception?

G

Guest

Hello,

I want to map data to class properties. Looking at a few examples, I see
that calls to .GetType, .GetProperties, etc. are always in try/catch blocks.
Not sure why this is. Are certain permissions required to run routines in
system.reflection?

Thanks,

Bill
 
G

Guest

Please ignore: Checked further and I see that I need to set the app up with
"full" trust. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top