다음을 통해 공유


IMessageSettings.OverrideValidityChecks Property

 

Gets or sets the ability to override message validation. 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

bool OverrideValidityChecks { get; set; }
property bool OverrideValidityChecks {
    bool get();
    void set(bool value);
}
Property OverrideValidityChecks As Boolean

Property Value

Type: System.Boolean

 True means validation is skipped before sending a message. This is not recommended.

Remarks

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

See Also

MessagePropertyAttribute
IMessageSettings Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top