RemoteResource.ResponseStatusCode Property
Gets the status code of the response.
Syntax
public int ResponseStatusCode {get;}
Property Value
System.Int32. The status code.
This property is read-only.
Remarks
The ResponseStatusCode corresponds to standard HTTP status codes. For more information, see the Status Code Definitions page on the World Wide Web Consortium web site.
A status code other than 200 also results in an ErrorResponse value for the RemoteResource.Status property. The application should evaluate the status code to determine whether the status is actually an error condition or is an acceptable state.
Requirements
Reference: Microsoft.MediaCenter
Namespace: Microsoft.MediaCenter.DataAccess
Assembly: Microsoft.MediaCenter.dll
Platform: Windows 7
See Also