Share via


StringHttpBody Constructor

Initializes a new instance of the StringHttpBody class.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New
public StringHttpBody()
public:
StringHttpBody()
new : unit -> StringHttpBody
public function StringHttpBody()

Remarks

The following table shows initial property values for an instance of the StringHttpBody class.

Property

Value

BodyString

string.Empty

ContentType

nulla null reference (Nothing in Visual Basic)

.NET Framework Security

See Also

Reference

StringHttpBody Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace