Skip to main content

Message Class

Event args for message events.

Methods

MethodDescription
ElevateToError()Changes the message into an error message.

Properties

PropertyDescription
IdGets the Id for the message.
LevelGets or sets the «see T:WixToolset.Data.MessageLevel» for the message.
MessageArgsGets the arguments for the format string.
ResourceManagerGets the resource manager for this event args.
ResourceNameOrFormatGets the name of the resource or format string if no resource manager was provided.
SourceLineNumbersGets the source line numbers.

WixToolset.Data.dll version 5.0.1+2f00cbe680fb01ab485d56f16de9cd19b133f875

ElevateToError() Method

Changes the message into an error message.

Declaration

public void ElevateToError()

Id Property

Gets the Id for the message.

Declaration

public int Id { get; set; } 

Level Property

Gets or sets the «see T:WixToolset.Data.MessageLevel» for the message.

Declaration

public MessageLevel Level { get; set; } 

MessageArgs Property

Gets the arguments for the format string.

Declaration

public System.Object[] MessageArgs { get; set; } 

ResourceManager Property

Gets the resource manager for this event args.

Declaration

public System.Resources.ResourceManager ResourceManager { get; set; } 

ResourceNameOrFormat Property

Gets the name of the resource or format string if no resource manager was provided.

Declaration

public string ResourceNameOrFormat { get; set; } 

SourceLineNumbers Property

Gets the source line numbers.

Declaration

public SourceLineNumber SourceLineNumbers { get; set; }