コード例 #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));
 }