InstallPackageMessageHandler Delegate

DTF API

Copy image CopyHover image
Deployment Tools Foundation InstallPackageMessageHandler Delegate
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPackageMessageHandler
Handles status messages generated when operations are performed on an InstallPackage or PatchPackage.
Declaration Syntax
C# Visual Basic Visual C++ F#
public delegate void InstallPackageMessageHandler(
	string format,
	params Object[] args
)
Public Delegate Sub InstallPackageMessageHandler ( 
	format As String,
	ParamArray args As Object()
)
public delegate void InstallPackageMessageHandler(
	String^ format, 
	... array<Object^>^ args
)
type InstallPackageMessageHandler = 
    delegate of 
        format : string * 
        args : Object[] -> unit
Parameters
format (String)
args (array<Object>[]()[][])
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)