Share via


MessageFileSettings.OverrideValidityChecks Property

 

Gets or sets the ability to override validity checking. If true, messages with 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
MessageFileSettings Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top