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.Guid

    The identifier of the add-in package.

  • address
    Type: System.Uri

    The URI that contains the address of the update for the add-in package.

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:

  1. The add-in determines through an independent software vendor (ISV)-specific method whether a new version is available.

  2. 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.

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

See Also

AddInManager Class
Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace

Return to top