Partilhar via


IVsWebBrowserUser2 Interface

Definition

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

public interface class IVsWebBrowserUser2
public interface class IVsWebBrowserUser2
__interface IVsWebBrowserUser2
[System.Runtime.InteropServices.Guid("821ABD48-96DC-4315-A2C4-82A7239B8166")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsWebBrowserUser2
[<System.Runtime.InteropServices.Guid("821ABD48-96DC-4315-A2C4-82A7239B8166")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsWebBrowserUser2 = interface
Public Interface IVsWebBrowserUser2
Attributes

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.

Methods

GetWebBrowserContext(IServiceProvider)

Get an instance of a service provider to offer services to the browser.

Applies to