示例#1
0
 public bool CanRetry(Exception exception)
 {
     return(exception is SampleException && ErrorCodesCanRetryMap.CanRetry(((SampleException)exception).ErrorCode));
 }
示例#2
0
 public override bool IsRetryAllowed(Exception exception)
 {
     return(exception is SampleException && ErrorCodesCanRetryMap.CanRetry(((SampleException)exception).ErrorCode));
 }