C# Класс Microsoft.WindowsAzure.Commands.Storage.Common.StorageExceptionUtil

Storage exception utility
Показать файл Открыть проект

Открытые методы

Метод Описание
IsConflictException ( this e ) : bool

Whether the storage exception is 409 conflict exception

IsNotFoundException ( this e ) : bool

Whether the storage exception is resource not found exception or not.

IsSuccessfulResponse ( this e ) : bool

Is the storage exception thrown with 2xx http status code

RepackStorageException ( this e ) : Microsoft.WindowsAzure.Storage.StorageException

Replace storage exception to expose more information in Message.

Описание методов

IsConflictException() публичный статический Метод

Whether the storage exception is 409 conflict exception
public static IsConflictException ( this e ) : bool
e this StorageException from the storage client
Результат bool

IsNotFoundException() публичный статический Метод

Whether the storage exception is resource not found exception or not.
public static IsNotFoundException ( this e ) : bool
e this StorageException from storage client
Результат bool

IsSuccessfulResponse() публичный статический Метод

Is the storage exception thrown with 2xx http status code
public static IsSuccessfulResponse ( this e ) : bool
e this Storage exception
Результат bool

RepackStorageException() публичный статический Метод

Replace storage exception to expose more information in Message.
public static RepackStorageException ( this e ) : Microsoft.WindowsAzure.Storage.StorageException
e this StorageException from storage client
Результат Microsoft.WindowsAzure.Storage.StorageException