HttpContentMessageExtensions.IsHttpResponseMessageContent Method (HttpContent)
Determines whether the specified content is HTTP response message content.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public static bool IsHttpResponseMessageContent(
this HttpContent content
)
public:
[ExtensionAttribute]
static bool IsHttpResponseMessageContent(
HttpContent^ content
)
static member IsHttpResponseMessageContent :
content:HttpContent -> bool
<ExtensionAttribute>
Public Shared Function IsHttpResponseMessageContent (
content As HttpContent
) As Boolean
Parameters
content
Type: System.Net.Http.HttpContentThe content to check.
Return Value
Type: System.Boolean
true if the specified content is HTTP message content; otherwise, false.
See Also
HttpContentMessageExtensions Class
System.Net.Http Namespace
Return to top