FeedResourceResponse(IRandomAccessStreamReference, String, Int32) Constructor

Definition

Initializes a new instance of the FeedResourceResponse class.

public:
 FeedResourceResponse(IRandomAccessStreamReference ^ content, Platform::String ^ reasonPhrase, int statusCode);
 FeedResourceResponse(IRandomAccessStreamReference const& content, winrt::hstring const& reasonPhrase, int const& statusCode);
public FeedResourceResponse(IRandomAccessStreamReference content, string reasonPhrase, int statusCode);
function FeedResourceResponse(content, reasonPhrase, statusCode)
Public Sub New (content As IRandomAccessStreamReference, reasonPhrase As String, statusCode As Integer)

Parameters

content
IRandomAccessStreamReference

The stream of content that contains the requested resource.

reasonPhrase
String

Platform::String

winrt::hstring

A text description of the result that is not user facing.

statusCode
Int32

int

The HTTP status code of the response.

Applies to