Dela via


PostRequestEventArgs.ResponseExists Property

Gets a value that indicates whether a response exists.

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

Syntax

'Declaration
Public ReadOnly Property ResponseExists As Boolean
public bool ResponseExists { get; }
public:
property bool ResponseExists {
    bool get ();
}
member ResponseExists : bool
function get ResponseExists () : boolean

Property Value

Type: System.Boolean
true if a response exists; otherwise, false.

Remarks

This can be false if the request is cached or if an exception occurs when sending the request.

.NET Framework Security

See Also

Reference

PostRequestEventArgs Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace