Export (0) Print
Expand All

AddInManager.NewAddInVersionAvailableAsync Method

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

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

'Usage
Dim instance As AddInManager
Dim id As Guid
Dim version As Version
Dim address As Uri
Dim classification As UpdateClassification

instance.NewAddInVersionAvailableAsync(id, version, address, classification)

public void NewAddInVersionAvailableAsync (
	Guid id,
	Version version,
	Uri address,
	UpdateClassification classification
)
public void NewAddInVersionAvailableAsync (
	Guid id, 
	Version version, 
	Uri address, 
	UpdateClassification classification
)
public function NewAddInVersionAvailableAsync (
	id : Guid, 
	version : Version, 
	address : Uri, 
	classification : UpdateClassification
)

Parameters

id

The identifier of the add-in package.

version

The new version of the add-in package.

address

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

classification

The UpdateClassification.

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows 7 x32, Windows 7 x64, Windows Server 2008 R2 x64, Windows Server 2012 x64, Windows Server 2012 R2 x64

Target Platforms

Windows Server 2012 R2 x64, Windows Server 2012 R2 Essentials, Windows Server 2012 Essentials

Copyright © 2013 by Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft