Severity Property

The severity of this message.

Syntax

Property Severity As VSSeverity

Parameters

None

Examples

IronPython

#Get 
msg = VSMessage(0, DateTime.Now, VSSeverity.Error, "IronPython script", "My test message", "Additional info")
msg_sev = msg.Severity


#Set 
msg.Severity = msg_sev


C#

//Get 
VSMessage msg = new VSMessage(0, DateTime.Now, VSSeverity.Error, "C# script", "My test message", "Additional info");
VSSeverity msg_sev = msg.Severity;


//Set 

msg.Severity = msg_sev;

Remarks