Partilhar via


SenderHelpers.IsPropertySettingValid Method (IMessageBase, IMessageSender, Object, MessageValidationException)

 

Performs inline validation on objects within a message.

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

Syntax

public static bool IsPropertySettingValid(
    IMessageBase message,
    IMessageSender sender,
    object graph,
    out MessageValidationException validationException
)
public:
static bool IsPropertySettingValid(
    IMessageBase^ message,
    IMessageSender^ sender,
    Object^ graph,
    [OutAttribute] MessageValidationException^% validationException
)
Public Shared Function IsPropertySettingValid (
    message As IMessageBase,
    sender As IMessageSender,
    graph As Object,
    <OutAttribute> ByRef validationException As MessageValidationException
) As Boolean

Parameters

Return Value

Type: System.Boolean

 True if the property settings are valid, false if not. The validationException should generally be re-thrown.

See Also

SenderHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top