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.
Validates the existence of a string that is defined by FindText in the HtmlDocument.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Overrides Sub Validate ( _
sender As Object, _
e As ValidationEventArgs _
)
public override void Validate(
Object sender,
ValidationEventArgs e
)
public:
virtual void Validate(
Object^ sender,
ValidationEventArgs^ e
) override
abstract Validate :
sender:Object *
e:ValidationEventArgs -> unit
override Validate :
sender:Object *
e:ValidationEventArgs -> unit
public override function Validate(
sender : Object,
e : ValidationEventArgs
)
Parameters
sender
Type: ObjectThe source of the event.
e
Type: Microsoft.VisualStudio.TestTools.WebTesting.ValidationEventArgsA ValidationEventArgs that contains the event data.
Remarks
Validate operates on the WebTestResponse to find the existence of a string in the HTML body.
.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.