Saves a Web performance test result to a file.
Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub Serialize ( _
    details As WebTestResultDetails, _
    filePath As String _
)
public void Serialize(
    WebTestResultDetails details,
    string filePath
)
public:
void Serialize(
    WebTestResultDetails^ details, 
    String^ filePath
)
member Serialize : 
        details:WebTestResultDetails * 
        filePath:string -> unit
public function Serialize(
    details : WebTestResultDetails, 
    filePath : String
)
Parameters
- details 
 Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultDetails- Details of the test result. 
- filePath 
 Type: String- File to save the result. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
WebTestResultDetailsSerializer Class