WebTestPlugin.PostRequest Method

When overridden in a derived class, represents the method that will handle the event associated with the completion of an HTTP 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

  • sender
    Type: Object

    The source of the event.

Remarks

Because this method is virtual, the author of the WebTestPlugin can decide whether to implement it. If it is not implemented, the base class implementation is called, but it does nothing other than to return immediately.

.NET Framework Security

See Also

Reference

WebTestPlugin Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace