SimpleWorkerRequest.SendStatus(Int32, String) 方法
定义
指定响应的 HTTP 状态代码和状态说明;例如 SendStatus(200, "Ok")。Specifies the HTTP status code and status description of the response; for example, SendStatus(200, "Ok").
public:
override void SendStatus(int statusCode, System::String ^ statusDescription);
public override void SendStatus (int statusCode, string statusDescription);
override this.SendStatus : int * string -> unit
Public Overrides Sub SendStatus (statusCode As Integer, statusDescription As String)
参数
- statusCode
- Int32
要发送的状态代码The status code to send
- statusDescription
- String
要发送的状态说明。The status description to send.