AddInManager::NewAddInVersionAvailable Method (Guid, Version^, Uri^, UpdateClassification)


Provides notification that a new version of an add-in package is available.

Namespace:   Microsoft.WindowsServerSolutions.AddinInfrastructure
Assembly:  AddinInfrastructure (in AddinInfrastructure.dll)

void NewAddInVersionAvailable(
	Guid id,
	Version^ version,
	Uri^ address,
	UpdateClassification classification


Type: System::Guid

The identifier of the add-in package.

Type: System::Version^

The new version of the add-in package.

Type: System::Uri^

The uniform resource identifier (URI) that contains the address of the update for the add-in package.

Type: Microsoft.WindowsServerSolutions.AddinInfrastructure::UpdateClassification

The UpdateClassification.

The address is a link directly to the updated add-ins for catalog add-ins or is a link to a webpage where updates of other add-ins can be downloaded.

The following represents the end-to-end process for how this API is used:

  1. The add-in determines through a self-implemented method whether a new version is available.

  2. The add-in calls the NewAddInVersionAvailablemethod with the GUID specified in the <ID> tag. The address should be a webpage where the user can download the add-in as it is not automatically downloaded.

  3. The user downloads the updated add-in from the webpage and installs it.

Return to top