HttpContentMessageExtensions.IsHttpRequestMessageContent Method (HttpContent)
Determines whether the specified content is HTTP request message content.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public static bool IsHttpRequestMessageContent(
this HttpContent content
)
public:
[ExtensionAttribute]
static bool IsHttpRequestMessageContent(
HttpContent^ content
)
static member IsHttpRequestMessageContent :
content:HttpContent -> bool
<ExtensionAttribute>
Public Shared Function IsHttpRequestMessageContent (
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