[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sets the severity for the message. Defaults to Invalid, which won't work. So set this!

Namespace:  Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
void 
SetSeverity(
	

StatusEventSeverity 
severity
)
Public 
Sub 
SetSeverity ( _
	
severity 
As 

StatusEventSeverity _
)
public:
void 
SetSeverity(
	

StatusEventSeverity 
severity
)

Parameters

severity
StatusEventSeverity

See Also