다음을 통해 공유


CoreWebView2WebResourceRequest.Content Property

Definition

Gets or sets the HTTP request message body as stream.

public System.IO.Stream Content { get; set; }
member this.Content : System.IO.Stream with get, set
Public Property Content As Stream

Property Value

Remarks

POST data should be here. If a stream is set, which overrides the message body, the stream must have all the content data available by the time the WebResourceRequested event deferral of this request is completed. Stream should be agile or be created from a background STA to prevent performance impact to the UI thread. null means no content data.

Applies to

See also