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
[GuidAttribute("821ABD48-96DC-4315-A2C4-82A7239B8166")]
[InterfaceTypeAttribute()]
public interface IVsWebBrowserUser2
[GuidAttribute(L"821ABD48-96DC-4315-A2C4-82A7239B8166")]
[InterfaceTypeAttribute()]
public interface class IVsWebBrowserUser2
[<GuidAttribute("821ABD48-96DC-4315-A2C4-82A7239B8166")>]
[<InterfaceTypeAttribute()>]
type IVsWebBrowserUser2 =  interface end
public interface IVsWebBrowserUser2

The IVsWebBrowserUser2 type exposes the following members.

Methods

  Name Description
Public method GetWebBrowserContext Get an instance of a service provider to offer services to the browser.

Top

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

Microsoft.VisualStudio.Shell.Interop Namespace