Export (0) Print
Expand All

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)

[GuidAttribute("821ABD48-96DC-4315-A2C4-82A7239B8166")] 
[InterfaceTypeAttribute(1)] 
public interface IVsWebBrowserUser2
/** @attribute GuidAttribute("821ABD48-96DC-4315-A2C4-82A7239B8166") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsWebBrowserUser2
GuidAttribute("821ABD48-96DC-4315-A2C4-82A7239B8166") 
InterfaceTypeAttribute(1) 
public interface IVsWebBrowserUser2

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.

Community Additions

ADD
Show:
© 2014 Microsoft