Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously serializes the object's content to the given stream.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
[DebuggerStepThroughAttribute]
protected override Task SerializeToStreamAsync(
Stream stream,
TransportContext context
)
protected:
[DebuggerStepThroughAttribute]
virtual Task^ SerializeToStreamAsync(
Stream^ stream,
TransportContext^ context
) override
[<DebuggerStepThroughAttribute>]
override SerializeToStreamAsync :
stream:Stream *
context:TransportContext -> Task
<DebuggerStepThroughAttribute>
Protected Overrides Function SerializeToStreamAsync (
stream As Stream,
context As TransportContext
) As Task
Parameters
stream
Type: System.IO.StreamThe Stream to which to write.
context
Type: System.Net.TransportContextThe associated TransportContext.
Return Value
Type: System.Threading.Tasks.Task
A Task instance that is asynchronously serializing the object's content.
See Also
HttpMessageContent Class
System.Net.Http Namespace
Return to top