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)
Syntax
public void NewAddInVersionAvailable(
Guid id,
Version version,
Uri address,
UpdateClassification classification
)
public:
void NewAddInVersionAvailable(
Guid id,
Version^ version,
Uri^ address,
UpdateClassification classification
)
Public Sub NewAddInVersionAvailable (
id As Guid,
version As Version,
address As Uri,
classification As UpdateClassification
)
Parameters
id
Type: System.GuidThe identifier of the add-in package.
version
Type: System.VersionThe new version of the add-in package.
address
Type: System.UriThe uniform resource identifier (URI) that contains the address of the update for the add-in package.
classification
Type: Microsoft.WindowsServerSolutions.AddinInfrastructure.UpdateClassificationThe UpdateClassification.
Remarks
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:
The add-in determines through a self-implemented method whether a new version is available.
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.
The user downloads the updated add-in from the webpage and installs it.
See Also
AddInManager Class
Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace
Return to top