コード例 #1
0
 public object Any(CustomHttpError request)
 {
     throw new HttpError(new CustomHttpErrorResponse
     {
         Custom         = "Ignored",
         ResponseStatus = new ResponseStatus("StatusErrorCode", "StatusErrorMessage")
     },
                         500,
                         "HeaderErrorCode");
 }
コード例 #2
0
 public object Any(CustomHttpError request)
 {
     throw new HttpError(request.StatusCode, request.StatusDescription);
 }