Freigeben über


InPlaceHostingManager.Execute Method

Definition

Launches the ClickOnce application, if and only if it is a Windows Presentation Foundation-based application running in a Web browser.

public:
 System::Runtime::Remoting::ObjectHandle ^ Execute();
public System.Runtime.Remoting.ObjectHandle Execute ();
member this.Execute : unit -> System.Runtime.Remoting.ObjectHandle
Public Function Execute () As ObjectHandle

Returns

An ObjectHandle corresponding to the launched application.

Remarks

This method is valid only for Windows Presentation Foundation-based applications that can be hosted in a Web browser (that is, their deployment manifests define the hostInBrowser XML element).

Applies to