AzureStorageUtils Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
General utility functions related to Azure storage.
public static class AzureStorageUtils
type AzureStorageUtils = class
Public Class AzureStorageUtils
- Inheritance
-
AzureStorageUtils
Remarks
These functions are mostly intended for internal usage by Orleans runtime, but due to certain assembly packaging constrants this class needs to have public visibility.
Fields
ANY_ETAG |
ETag of value "*" to match any etag for conditional table operations (update, nerge, delete). |
Methods
EvaluateException(Exception, HttpStatusCode, String, Boolean) |
Examine a storage exception, and if applicable extracts the HTTP status code, and REST error code if |
IsContentionError(HttpStatusCode) |
Check whether a HTTP status code returned from a REST call might be due to a (temporary) storage contention error. |
IsNotFoundError(HttpStatusCode) |
Check whether a HTTP status code returned from a REST call might be due to a (temporary) storage contention error. |
IsRetriableHttpError(HttpStatusCode, String) |
Returns true if the specified HTTP status / error code is returned in a transient / retriable error condition |
SanitizeTableProperty(String) |
Remove any characters that can't be used in Azure PartitionKey or RowKey values. |
TableStorageDataNotFound(Exception) |
Inspect an exception returned from Azure storage libraries to check whether it means that attempt was made to read some data that does not exist in storage table. |