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