編輯

共用方式為


JavascriptCallbackResponseMessageProperty.StatusCode Property

Definition

Gets or sets the HTTP status code.

public:
 property Nullable<System::Net::HttpStatusCode> StatusCode { Nullable<System::Net::HttpStatusCode> get(); void set(Nullable<System::Net::HttpStatusCode> value); };
public System.Net.HttpStatusCode? StatusCode { get; set; }
member this.StatusCode : Nullable<System.Net.HttpStatusCode> with get, set
Public Property StatusCode As Nullable(Of HttpStatusCode)

Property Value

The HTTP status code.

Remarks

The HTTP status code, if not equal to 200, is appended as a second parameter in the JavaScript response.

Applies to