Share via


VssJsonMediaTypeFormatter.WriteToStreamAsync Method (Type, Object, Stream, HttpContent, TransportContext)

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Overridable Function WriteToStreamAsync ( _
    type As Type, _
    value As Object, _
    writeStream As Stream, _
    content As HttpContent, _
    transportContext As TransportContext _
) As Task
public virtual Task WriteToStreamAsync(
    Type type,
    Object value,
    Stream writeStream,
    HttpContent content,
    TransportContext transportContext
)
public:
virtual Task^ WriteToStreamAsync(
    Type^ type, 
    Object^ value, 
    Stream^ writeStream, 
    HttpContent^ content, 
    TransportContext^ transportContext
)
abstract WriteToStreamAsync : 
        type:Type * 
        value:Object * 
        writeStream:Stream * 
        content:HttpContent * 
        transportContext:TransportContext -> Task  
override WriteToStreamAsync : 
        type:Type * 
        value:Object * 
        writeStream:Stream * 
        content:HttpContent * 
        transportContext:TransportContext -> Task
public function WriteToStreamAsync(
    type : Type, 
    value : Object, 
    writeStream : Stream, 
    content : HttpContent, 
    transportContext : TransportContext
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

.NET Framework Security

See Also

Reference

VssJsonMediaTypeFormatter Class

WriteToStreamAsync Overload

Microsoft.VisualStudio.Services.WebApi Namespace