Compartir a través de


HttpContentFormDataExtensions Class

Extension methods to read HTML form URL-encoded datafrom HttpContent instances.

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpContentFormDataExtensions

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HttpContentFormDataExtensions
'Usage
public static class HttpContentFormDataExtensions
[ExtensionAttribute]
public ref class HttpContentFormDataExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HttpContentFormDataExtensions =  class end
public final class HttpContentFormDataExtensions

The HttpContentFormDataExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member IsFormData Determines whether the specified content is HTML form URL-encoded data.
Public methodStatic member ReadAsFormDataAsync Asynchronously reads HTML form URL-encoded from an HttpContent instance and stores the results in a NameValueCollection object.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Net.Http Namespace