RedirectXDomainBlocked Event

Fired when a cross-domain redirect request is blocked.

Syntax

        Private Sub object_RedirectXDomainBlocked( _
	ByVal pDisp As Object, _
	ByVal StartURL As Variant, _
	ByVal RedirectURL As Variant, _
	ByVal Frame As Variant, _
	ByVal StatusCode As Variant)

Parameters

object
Object expression that resolves to the objects in the Applies To list.
pDisp
The IWebBrowser2 object that triggered the event.
StartURL
A String that specifies the original target URL.
RedirectURL
A String that specifies the redirected URL.
Frame
A String that specifies the target frame name.
StatusCode
An Integer that specifies the reason for the redirect (HTTP status code).

Remarks

Windows Internet Explorer fires this event but does not respond to it. The event is intended for use by Browser Helper Objects (BHOs).

Applies To

InternetExplorer, WebBrowser

Community Additions

ADD
Show:
© 2014 Microsoft