C# 클래스 PhotoSharingApp.AppService.ServiceCore.ServiceExceptions

Provides exceptions for the App Service.
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing

공개 메소드들

메소드 설명
DataLayerException ( string details ) : System.Web.Http.HttpResponseException

Returns exception when there is an exception calling data layer.

DuplicateCategoryException ( string details ) : System.Web.Http.HttpResponseException

Returns exception when a duplicate category is found during category creation.

IapValidationException ( string details ) : System.Web.Http.HttpResponseException

Returns exception when the Iap validation fails.

IdMismatchException ( string pathArgumentId, string requestId ) : System.Web.Http.HttpResponseException

Returns an exception wrapping a fault response indicating that the Uri Id and the request body Id differ.

NotAllowed ( ) : System.Web.Http.HttpResponseException

Returns exception when the current user isn't allowed to perform this operation.

UnknownInternalFailureException ( string faultSource ) : System.Web.Http.HttpResponseException

Returns an exception wrapping a fault response indicating that an unknown internal failure occurred.

UserBalanceTooLow ( ) : System.Web.Http.HttpResponseException

Returns exception when the current operation will overdraw user balance.

UserNullException ( ) : System.Web.Http.HttpResponseException

Returns exception when the current authenticated user fetched from Azure Mobile Service is null.

메소드 상세

DataLayerException() 공개 정적인 메소드

Returns exception when there is an exception calling data layer.
public static DataLayerException ( string details ) : System.Web.Http.HttpResponseException
details string Fault inner message.
리턴 System.Web.Http.HttpResponseException

DuplicateCategoryException() 공개 정적인 메소드

Returns exception when a duplicate category is found during category creation.
public static DuplicateCategoryException ( string details ) : System.Web.Http.HttpResponseException
details string Fault inner message.
리턴 System.Web.Http.HttpResponseException

IapValidationException() 공개 정적인 메소드

Returns exception when the Iap validation fails.
public static IapValidationException ( string details ) : System.Web.Http.HttpResponseException
details string Fault message.
리턴 System.Web.Http.HttpResponseException

IdMismatchException() 공개 정적인 메소드

Returns an exception wrapping a fault response indicating that the Uri Id and the request body Id differ.
public static IdMismatchException ( string pathArgumentId, string requestId ) : System.Web.Http.HttpResponseException
pathArgumentId string Id from the Uri path argument.
requestId string Id from the request body.
리턴 System.Web.Http.HttpResponseException

NotAllowed() 공개 정적인 메소드

Returns exception when the current user isn't allowed to perform this operation.
public static NotAllowed ( ) : System.Web.Http.HttpResponseException
리턴 System.Web.Http.HttpResponseException

UnknownInternalFailureException() 공개 정적인 메소드

Returns an exception wrapping a fault response indicating that an unknown internal failure occurred.
public static UnknownInternalFailureException ( string faultSource ) : System.Web.Http.HttpResponseException
faultSource string Source to use when creating ServiceFaults.
리턴 System.Web.Http.HttpResponseException

UserBalanceTooLow() 공개 정적인 메소드

Returns exception when the current operation will overdraw user balance.
public static UserBalanceTooLow ( ) : System.Web.Http.HttpResponseException
리턴 System.Web.Http.HttpResponseException

UserNullException() 공개 정적인 메소드

Returns exception when the current authenticated user fetched from Azure Mobile Service is null.
public static UserNullException ( ) : System.Web.Http.HttpResponseException
리턴 System.Web.Http.HttpResponseException