次の方法で共有


InPlaceHostingManager.UninstallCustomUXApplication(String) Method

Definition

Removes a ClickOnce application that includes the <customUX> element.

public:
 static void UninstallCustomUXApplication(System::String ^ subscriptionId);
public static void UninstallCustomUXApplication (string subscriptionId);
static member UninstallCustomUXApplication : string -> unit
Public Shared Sub UninstallCustomUXApplication (subscriptionId As String)

Parameters

subscriptionId
String

A string that contains a subscription identifier, which indicates the ClickOnce application to remove.

Remarks

This method uninstalls a previously installed ClickOnce application that uses the <customUX> element in the <entryPoint> Element.

Custom installers that do not create an Add or Remove Programs entry for the ClickOnce application must store the subscription identifier found in the SubscriptionIdentity property during installation.

Applies to