MessageSettings.OverrideValidityChecks Property

 

Gets or sets a value that indicates whether the ability to override validity checking is enabled. If true, messages that have required properties that are null or empty will not fail to send.

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

Syntax

public bool OverrideValidityChecks { get; set; }
public:
property bool OverrideValidityChecks {
    virtual bool get() sealed;
    virtual void set(bool value) sealed;
}
Public Property OverrideValidityChecks As Boolean

Property Value

Type: System.Boolean

If true, validation will be skipped before sending the message. This is not recommended.

Implements

IMessageSettings.OverrideValidityChecks

Remarks

It is not recommended that this property be set to false except in the case of extreme performance optimization.

See Also

MessagePropertyAttribute
MessageSettings Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top