FormPostHttpBody Class
Represents an HTML form post body with a collection of form parameters.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
| Name | Description | |
|---|---|---|
![]() | FormPostHttpBody() | Initializes a new instance of the FormPostHttpBody class. |
| Name | Description | |
|---|---|---|
![]() | ContentType | Gets a value that indicates the content type of the data being sent. |
![]() | FormPostParameters | Gets the list of FormPostParameters included in this FormPostHttpBody. |
| Name | Description | |
|---|---|---|
![]() | Clone() | Returns a deep copy of the FormPostHttpBody. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | WriteHttpBody(WebTestRequest^, Stream^) | Writes the HTTP body stream. |
This type is a container for information that is used by the POST method for submitting data back to the server in a HTTP body. This class can be serialized.
Legacy Code Example
The following code examples show how a FormPostHttpBody adds form post parameters to the body of the WebTestRequest.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


