UninstallCustomAddIn Method

InPlaceHostingManager.UninstallCustomAddIn Method (String)

 

Removes a previously installed user-defined component of an application.

Namespace:   System.Deployment.Application
Assembly:  System.Deployment (in System.Deployment.dll)

public static void UninstallCustomAddIn(
	string subscriptionId
)

Parameters

subscriptionId
Type: System.String

A string that contains a subscription identifier, which indicates the add-in to remove.

Exception Condition
ArgumentException

subscriptionId is not a valid subscription identity, or does not include a name, public key token, processor architecture, and version number.

ArgumentNullException

subscriptionId is null.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft