HttpExtensions.GetContentHeaders 方法 (HttpResponseMessage)
获取 HTTP 响应的内容标头。
命名空间: Microsoft.WindowsAzure.Common.Internals
程序集: Microsoft.WindowsAzure.Common(Microsoft.WindowsAzure.Common.dll 中)
语法
public static HttpHeaders GetContentHeaders(
this HttpResponseMessage response
)
public:
[ExtensionAttribute]
static HttpHeaders^ GetContentHeaders(
HttpResponseMessage^ response
)
static member GetContentHeaders :
response:HttpResponseMessage -> HttpHeaders
<ExtensionAttribute>
Public Shared Function GetContentHeaders (
response As HttpResponseMessage
) As HttpHeaders
参数
response
Type: System.Net.Http.HttpResponseMessage响应消息中。
返回值
Type: System.Net.Http.Headers.HttpHeaders
内容标头。
请参阅
GetContentHeaders 重载
HttpExtensions 类
Microsoft.WindowsAzure.Common.Internals 命名空间
返回页首