Поделиться через


WebTestRequestPlugin.PostRequest Method

When overridden in a derived class, this method is run every time a request finishes before dependent requests are run. This allows the callback to obtain runtime information about the request.

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

Syntax

'Declaration
Public Overridable Sub PostRequest ( _
    sender As Object, _
    e As PostRequestEventArgs _
)
public virtual void PostRequest(
    Object sender,
    PostRequestEventArgs e
)
public:
virtual void PostRequest(
    Object^ sender, 
    PostRequestEventArgs^ e
)
abstract PostRequest : 
        sender:Object * 
        e:PostRequestEventArgs -> unit 
override PostRequest : 
        sender:Object * 
        e:PostRequestEventArgs -> unit 
public function PostRequest(
    sender : Object, 
    e : PostRequestEventArgs
)

Parameters

Remarks

This is called immediately after a request is run.

.NET Framework Security

See Also

Reference

WebTestRequestPlugin Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace