ConfigMgrDataDiscoveryRecordMessage.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.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public override void Validate(
IMessageSender sender
)
public:
virtual void Validate(
IMessageSender^ sender
) override
Public Overrides Sub Validate (
sender As IMessageSender
)
Parameters
sender
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageSenderThe message sender.
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
ConfigMgrDataDiscoveryRecordMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top