Freigeben über


WidgetResourceResponse(IRandomAccessStreamReference, String, Int32) Constructor

Definition

Initializes a new instance of the WidgetResourceResponse class.

public:
 WidgetResourceResponse(IRandomAccessStreamReference ^ content, Platform::String ^ reasonPhrase, int statusCode);
 WidgetResourceResponse(IRandomAccessStreamReference const& content, winrt::hstring const& reasonPhrase, int const& statusCode);
public WidgetResourceResponse(IRandomAccessStreamReference content, string reasonPhrase, int statusCode);
function WidgetResourceResponse(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