多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are developing a class library. Portions of your code need to access system environment variables. You need to force a runtime SecurityException only when callers that are higher in the call stack do not have the necessary permissions. Which call method should you use?()

  • A、set.Demand();
  • B、set.Assert();
  • C、set.PermitOnly();
  • D、set.Deny();
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题