Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Provides a common interface for accessing an HTTP body.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Interface IHttpBody _
Inherits ICloneable
public interface IHttpBody : ICloneable
public interface class IHttpBody : ICloneable
type IHttpBody =
interface
interface ICloneable
end
public interface IHttpBody extends ICloneable
The IHttpBody type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
ContentType | Gets a value that represents the content-type of the body. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) |
![]() |
WriteHttpBody | Creates a stream that contains the HTTP body. |
Top
Remarks
IHttpBody provides access to the HTTP body through the WriteHttpBody method.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace
.gif)
.gif)