Partager via


WebTestPlugin.PostPage Method

When overridden in a derived class, represents the method that will handle the event associated with the completion of a Web page.

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

Syntax

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

Parameters

  • sender
    Type: Object

    The source of the event.

Remarks

The PostPage callback is called when the primary page and all the dependent requests for the page have been completed received.

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