Partager via


AdhocStatusMessage.SetSeverity Method (StatusEventSeverity)

 

Sets the severity for the message. You must set the severity or the method will use the default value of Invalid, which will fail.

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

Syntax

public void SetSeverity(
    StatusEventSeverity severity
)
public:
void SetSeverity(
    StatusEventSeverity severity
)
Public Sub SetSeverity (
    severity As StatusEventSeverity
)

Parameters

See Also

AdhocStatusMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top