Message.Validate Method (IMessageSender)

 

Validates that all required message settings are present and meet the requirements. If this validation fails, the message is almost certain to fail in being sent or processed by the site or management point.

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

Syntax

public virtual void Validate(
    IMessageSender sender
)
public:
virtual void Validate(
    IMessageSender^ sender
)
Public Overridable Sub Validate (
    sender As IMessageSender
)

Parameters

Remarks

When overriding this method, ensure you call base.Validate(). Failure to do this could result in missed validations occurring deeper within the framework.

See Also

Validate Overload
Message Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top