Вопрос

What is the difference between exceptionpolicy and exceptionmanager classes of Microsoft Enterprise Library?? I didn't even know that exceptionmanager existed! Why are there two different classes?

Это было полезно?

Решение

ExceptionManager Exists

See this Link

I'll prefer ExceptionManger to handle my all exception as i can compare exception, start process according to exception policy, can know the type of exception while ExceptionPolicy just give me a single member function to handle exception nothing else...

you should also go through from these links...

1. Members of ExceptionManager

2. Members of ExceptionPolicy

3. Introduction to the Exception Handling Application Block

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top