Share via


IVsWebBrowserUser2 Interface

Enables a client of IVsWebBrowsingService to proffer services to the hosted browser control. Extends, but does not inherit from, IVsWebBrowserUser.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("821ABD48-96DC-4315-A2C4-82A7239B8166")> _
<InterfaceTypeAttribute()> _
Public Interface IVsWebBrowserUser2
'Usage
Dim instance As IVsWebBrowserUser2
[GuidAttribute("821ABD48-96DC-4315-A2C4-82A7239B8166")]
[InterfaceTypeAttribute()]
public interface IVsWebBrowserUser2
[GuidAttribute(L"821ABD48-96DC-4315-A2C4-82A7239B8166")]
[InterfaceTypeAttribute()]
public interface class IVsWebBrowserUser2
public interface IVsWebBrowserUser2

Remarks

The client needs to implement the custom service and IServiceProvider.

For example, if the client wants to provide a custom implementation of IInternetSecurityManager, the client implements both the interface and IServiceProvider. The client should implement IServiceProvider on the object passed as the pUser argument to the CreateWebBrowser method of IVsWebBrowsingService. The IServiceProvider implementation should return the custom security manager implementation when queried for the SInternetSecurityManager (SID_SInternetSecurityManager) service.

See Also

Reference

IVsWebBrowserUser2 Members

Microsoft.VisualStudio.Shell.Interop Namespace