Udostępnij za pośrednictwem


BatchRequestContent.SerializeToStreamAsync(Stream, TransportContext) Method

Definition

Serialize the HTTP content to a stream as an asynchronous operation.

protected override System.Threading.Tasks.Task SerializeToStreamAsync (System.IO.Stream stream, System.Net.TransportContext context);
override this.SerializeToStreamAsync : System.IO.Stream * System.Net.TransportContext -> System.Threading.Tasks.Task
Protected Overrides Function SerializeToStreamAsync (stream As Stream, context As TransportContext) As Task

Parameters

stream
Stream

The target stream.

context
TransportContext

Information about the transport (channel binding token, for example). This parameter may be null.

Returns

Applies to