Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
複数のポリシーを実行する (またはそれらを 1 つのポリシーに結合する) 方法は?
たとえば、私は持っています:
var policy1 = Policy.Handle< DivideByZeroException >().WaitAndRetry(5)); var policy2 = Policy.Handle< StackOverflowException >().RetryForever();
それらを 1 つのメソッドに同時に適用する方法は?