共用方式為


Transmission.CreateRequestMessage(Uri, Stream) Method

Definition

Creates an http request for sending a transmission.

protected virtual System.Net.Http.HttpRequestMessage CreateRequestMessage (Uri address, System.IO.Stream contentStream);
abstract member CreateRequestMessage : Uri * System.IO.Stream -> System.Net.Http.HttpRequestMessage
override this.CreateRequestMessage : Uri * System.IO.Stream -> System.Net.Http.HttpRequestMessage
Protected Overridable Function CreateRequestMessage (address As Uri, contentStream As Stream) As HttpRequestMessage

Parameters

address
Uri

The address of the web request.

contentStream
Stream

The stream to write to.

Returns

The request. An object of type HttpRequestMessage.

Applies to