What is Assert Method ?

Answer Posted / vathsala

Assert is a method that can be called on code access
permission classes and on the PermissionSet class. You can
use Assert to enable your code (and downstream callers) to
perform actions that your code has permission to do but its
callers might not have permission to do. A security
assertion changes the normal process that the runtime
performs during a security check. When you assert a
permission, it tells the security system not to check the
callers of your code for the asserted permission.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define page output caching?

756


How to improve performance of web application asp.net mvc? : Asp.Net MVC

741


Explain what does wsdl stand for?

738


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1700


Explain how dot net compiled code will become platform independent?

753


Explain security types in asp.net?

798


14. What are your Future Plans for Swatz Oils GROUP U.K?

1965


What symbol would you use to denote, the start of a code block in aspx views?

755


Explain method to handle error using HttpError in Web API?

815


Differentiate between globalization and localization.

755


Explain diff. Betn dataset and recordset?

754


How do we sort the data from a dataset?

771


Less than one page, how many windows will you be able to maintain?

770


How would you implement inheritance using c#?

782


What is query string?

787