26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

specific exception classes. It derives from Exception but does not provide any extended functionality.<br />

You should derive your custom application exceptions from Application Exception.<br />

Application exception are used when we want to define user defined exception. While system<br />

exception are all which are defined by .<strong>NET</strong>.<br />

Figure :- 1.9 Exception Hierarchy<br />

Note:- Frankly I have always relied on using Microsoft exception application blocks. As<br />

such I have never used application exception; I think most of the work is done using System<br />

exception classes.<br />

(I)What is CODE Access security?<br />

CAS is part of .<strong>NET</strong> security model that determines whether or not a piece of code is allowed to<br />

run and what resources it can use while running. Example CAS will allow a application to read but<br />

now write and delete rights are given to the application.<br />

36

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!