Exemple #1
0
 public static bool IsAlreadyExistsException(this TableStorageException e)
 {
     return(e?.RequestInformation?.HttpStatusCode == (int?)HttpStatusCode.Conflict);
 }
Exemple #2
0
 public static bool IsPreconditionFailedException(this TableStorageException e)
 {
     return(e?.RequestInformation?.HttpStatusCode == (int?)HttpStatusCode.PreconditionFailed);
 }
Exemple #3
0
 public static bool IsNotFoundException(this TableStorageException e)
 {
     return(e?.RequestInformation?.HttpStatusCode == (int?)HttpStatusCode.NotFound);
 }