문제

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