Пример #1
0
 public static bool QualifiesForRetry(this CopyResultCode status)
 => !status.IsSuccess() && (status.IsRejection() || status == CopyResultCode.ServerUnavailable);
Пример #2
0
 public static bool QualifiesForRetry(this CopyResultCode status)
 => !status.IsSuccess() && (status.IsRejection() || status == CopyResultCode.ServerUnavailable || status == CopyResultCode.CopyTimeoutError || status == CopyResultCode.CopyBandwidthTimeoutError);