Share via


ODataMediaTypeFormatter.WriteToStreamAsync Method

Definition

System.Net.Http.Formatting.MediaTypeFormatter.WriteToStreamAsync(System.Type,System.Object,System.IO.Stream,System.Net.Http.HttpContent,System.Net.TransportContext,System.Threading.CancellationToken)
public override System.Threading.Tasks.Task WriteToStreamAsync (Type type, object value, System.IO.Stream writeStream, System.Net.Http.HttpContent content, System.Net.TransportContext transportContext, System.Threading.CancellationToken cancellationToken);
override this.WriteToStreamAsync : Type * obj * System.IO.Stream * System.Net.Http.HttpContent * System.Net.TransportContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function WriteToStreamAsync (type As Type, value As Object, writeStream As Stream, content As HttpContent, transportContext As TransportContext, cancellationToken As CancellationToken) As Task

Parameters

type
Type
value
Object
writeStream
Stream
content
HttpContent
transportContext
TransportContext
cancellationToken
CancellationToken

Returns

Applies to