Share via


RegistrationAttribute.RegistrationContext.Log Property

Definition

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

public:
 abstract property System::IO::TextWriter ^ Log { System::IO::TextWriter ^ get(); };
public abstract System.IO.TextWriter Log { get; }
member this.Log : System.IO.TextWriter
Public MustOverride ReadOnly Property Log As TextWriter

Property Value

A TextWriter object.

Remarks

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.

Applies to