Skip to content

Message Class

Event args for message events.

MethodDescription
ElevateToError()Changes the message into an error message.
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.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Changes the message into an error message.

public void ElevateToError()

Gets the Id for the message.

public int Id { get; set; }

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

public MessageLevel Level { get; set; }

Gets the arguments for the format string.

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

Gets the resource manager for this event args.

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

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

public string ResourceNameOrFormat { get; set; }

Gets the source line numbers.

public SourceLineNumber SourceLineNumbers { get; set; }