InPlaceHostingManager.DownloadApplicationAsync Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Downloads an application update in the background.

Namespace:   System.Deployment.Application
Assembly:  System.Deployment (in System.Deployment.dll)

member DownloadApplicationAsync : unit -> unit

Exception Condition

Raised if this method is called before the GetManifestAsync and AssertApplicationRequirements methods.

You must call this method after calling AssertApplicationRequirements.

The following code example demonstrates the use of DownloadApplicationAsync, which it calls at the end of a successful GetManifestCompleted event handler.

The following code examples assume that you have already defined and created an instance of InPlaceHostingManager named iphm.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top