共用方式為


ChaosHandler.Create500InternalServerErrorResponse Method

Definition

Create a HTTP status 500 response message

public static System.Net.Http.HttpResponseMessage Create500InternalServerErrorResponse ();
static member Create500InternalServerErrorResponse : unit -> System.Net.Http.HttpResponseMessage
Public Shared Function Create500InternalServerErrorResponse () As HttpResponseMessage

Returns

A HttpResponseMessage object simulating a 500 Response

Applies to