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)

member GetManifestCompleted : IEvent<EventHandler<GetManifestCompletedEventArgs>,
    GetManifestCompletedEventArgs>

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: