InPlaceHostingManager::DownloadApplicationAsync Method ()

 
System_CAPS_noteNote

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

Downloads an application update in the background.

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

public:
void DownloadApplicationAsync()

Exception Condition
InvalidOperationException

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
Show: