Partager via


CoreWebView2WebResourceRequestedEventArgs.Response Property

Definition

Gets or sets the CoreWebView2WebResourceResponse object.

public System.Net.Http.HttpResponseMessage Response { get; set; }
public Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse Response { get; set; }
member this.Response : System.Net.Http.HttpResponseMessage with get, set
member this.Response : Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse with get, set
Public Property Response As HttpResponseMessage
Public Property Response As CoreWebView2WebResourceResponse

Property Value

Remarks

If this object is set, the WebResourceRequested event will be completed with this Response. An empty CoreWebView2WebResourceResponse object can be created with CreateWebResourceResponse(Stream, Int32, String, String) and then modified to construct the Response.

Applies to