Compartilhar via


TraceRecord.Status Property

Gets or sets the HttpStatusCode associated with the HttpResponseMessage.

Namespace:  System.Web.Http.Tracing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property Status As HttpStatusCode 
    Get 
    Set
'Usage
Dim instance As TraceRecord 
Dim value As HttpStatusCode 

value = instance.Status

instance.Status = value
public HttpStatusCode Status { get; set; }
public:
property HttpStatusCode Status {
    HttpStatusCode get ();
    void set (HttpStatusCode value);
}
member Status : HttpStatusCode with get, set
function get Status () : HttpStatusCode 
function set Status (value : HttpStatusCode)

Property Value

Type: System.Net.HttpStatusCode
The HttpStatusCode associated with the HttpResponseMessage.

See Also

Reference

TraceRecord Class

System.Web.Http.Tracing Namespace