Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InPlaceHostingManager::GetManifestCompleted Event

 

Occurs when the deployment manifest has been downloaded to the local computer.

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

public:
event EventHandler<GetManifestCompletedEventArgs^>^ GetManifestCompleted {
	void add(EventHandler<GetManifestCompletedEventArgs^>^ value);
	void remove(EventHandler<GetManifestCompletedEventArgs^>^ value);
}

Use the Error property of GetManifestCompletedEventArgs to check whether GetManifestAsync completed successfully or returned an error. If Error is null, GetManifestAsync completed successfully, and you can call AssertApplicationRequirements.

The following code examples demonstrate how to call the GetManifestAsync method. The handler for the GetManifestCompleted event callback checks to see if the manifest download completed successfully, and if so, prompts the user with additional information about the application. If the user agrees to continue the installation, the handler calls DownloadApplicationAsync.

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.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft