WebTestRequestPlugin.PostRequest Method
When overridden in a derived class, this method is run each time a request finishes before dependent requests are run. This allows the callback to get 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 _
)
'Usage
Dim instance As WebTestRequestPlugin
Dim sender As Object
Dim e As PostRequestEventArgs
instance.PostRequest(sender, e)
public virtual void PostRequest(
Object sender,
PostRequestEventArgs e
)
public:
virtual void PostRequest(
Object^ sender,
PostRequestEventArgs^ e
)
public function PostRequest(
sender : Object,
e : PostRequestEventArgs
)
Parameters
sender
Type: System.ObjectThe object that fired the event.
e
Type: Microsoft.VisualStudio.TestTools.WebTesting.PostRequestEventArgsA PostRequestEventArgs object.
Remarks
This is called immediately after a request is run.
.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.