VssJsonMediaTypeFormatter.WriteToStreamAsync 方法 (Type, Object, Stream, HttpContent, TransportContext)

命名空间:  Microsoft.VisualStudio.Services.WebApi
程序集:  Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)

语法

声明
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
)

参数

返回值

类型:System.Threading.Tasks.Task

.NET Framework 安全性

请参阅

参考

VssJsonMediaTypeFormatter 类

WriteToStreamAsync 重载

Microsoft.VisualStudio.Services.WebApi 命名空间