This documentation is archived and is not being maintained.

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

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: