AddInManager.NewAddInVersionAvailableAsync Method (Guid, Version, Uri, UpdateClassification)
Asynchronously 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 NewAddInVersionAvailableAsync(
Guid id,
Version version,
Uri address,
UpdateClassification classification
)
public:
void NewAddInVersionAvailableAsync(
Guid id,
Version^ version,
Uri^ address,
UpdateClassification classification
)
Public Sub NewAddInVersionAvailableAsync (
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 URI that contains the address of the update for the add-in package.
classification
Type: Microsoft.WindowsServerSolutions.AddinInfrastructure.UpdateClassificationThe UpdateClassification.
Remarks
The address links directly to the updated add-ins for catalog add-ins or links 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 an independent software vendor (ISV)-specific method whether a new version is available.
The add-in calls the NewAddInVersionAvailableAsync method with the GUID that is specified in the <ID> tag. The address should be a webpage where the user can download the add-in because 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