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