RegistrationAttribute::RegistrationContext::Log Property

 

Gets a TextWriter object that can be used to log events during registration.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)

public:
property TextWriter^ Log {
	virtual TextWriter^ get() abstract;
}

Property Value

Type: System.IO::TextWriter^

A TextWriter object.

Text sent to the TextWriter object is presented directly to the user. If possible, the text should be localized.

Registration tools can use this information in different ways. CreatePkgDef displays this information on the command line, while the Windows Installer can choose to save it in the installation log.

Return to top
Show: