Message Event

DTF API

Copy image CopyHover image
Deployment Tools Foundation Message Event
Handle this event to receive status messages when operations are performed on the install package.
Declaration Syntax
C# Visual Basic Visual C++ F#
public event InstallPackageMessageHandler Message
Public Event Message As InstallPackageMessageHandler
public:
 event InstallPackageMessageHandler^ Message {
	void add (InstallPackageMessageHandler^ value);
	void remove (InstallPackageMessageHandler^ value);
}
member Message : IEvent<InstallPackageMessageHandler,
    EventArgs>
Examples
installPackage.Message += new InstallPackageMessageHandler(Console.WriteLine);

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)