Udostępnij za pośrednictwem


ModelValidatorAttribute Class

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

OData model validation filter attribute class.

Namespace:  Microsoft.Dynamics.Retail.RetailServerLibrary.ODataExtensions
Assembly:  Microsoft.Dynamics.Retail.RetailServerLibrary (in Microsoft.Dynamics.Retail.RetailServerLibrary.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, AllowMultiple := True,  _
    Inherited := True)> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ModelValidatorAttribute _
    Inherits ActionFilterAttribute
'Usage
Dim instance As ModelValidatorAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true, 
    Inherited = true)]
[ComVisibleAttribute(false)]
public sealed class ModelValidatorAttribute : ActionFilterAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method, AllowMultiple = true, 
    Inherited = true)]
[ComVisibleAttribute(false)]
public ref class ModelValidatorAttribute sealed : public ActionFilterAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    FilterAttribute
      ActionFilterAttribute
        Microsoft.Dynamics.Retail.RetailServerLibrary.ODataExtensions.ModelValidatorAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.Retail.RetailServerLibrary.ODataExtensions Namespace