コード例 #1
0
 static bool IsErrorStringMatch(StorageException exception, params string[] errorStrings)
 {
     return exception != null && exception.ExtendedErrorInformation != null
         && errorStrings.Contains(exception.ExtendedErrorInformation.ErrorCode);
 }
コード例 #2
0
 static bool IsErrorCodeMatch(StorageException exception, params StorageErrorCode[] codes)
 {
     return exception != null
         && codes.Contains(exception.ErrorCode);
 }