Export (0) Print
Expand All

WebTestResponse.BodyString Property

Gets a string version of the response body for responses with text, HTML, or XML content types.

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

public string BodyString { get; internal set; }

Property Value

Type: System.String
The response body. This returns null if there is not a body or the content type is not text, HTML, or XML.

© 2015 Microsoft