Delen via


DataServiceOperationContext.ResponseStatusCode Property

Gets or sets the status code of the response.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Property ResponseStatusCode As Integer 
    Get 
    Set
'Usage
Dim instance As DataServiceOperationContext 
Dim value As Integer 

value = instance.ResponseStatusCode

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

Property Value

Type: System.Int32
The status code of the operation response.

See Also

Reference

DataServiceOperationContext Class

System.Data.Services Namespace