Share via


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

    The identifier of the add-in package.

  • address
    Type: System.Uri

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

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:

  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.

See Also

AddInManager Class
Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace

Return to top