C# 클래스 Microsoft.WindowsAzure.Commands.Storage.Common.StorageExceptionUtil

Storage exception utility
파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
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