سؤال

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