命名空间: 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
)
参数
- type
类型:System.Type
- value
类型:System.Object
- writeStream
类型:System.IO.Stream
- content
类型:System.Net.Http.HttpContent
- transportContext
类型:System.Net.TransportContext
返回值
类型:System.Threading.Tasks.Task
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。