AttachmentValidatorAttribute 类

定义

用于附件验证的抽象基类。

[System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=true)]
public abstract class AttachmentValidatorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=true)>]
type AttachmentValidatorAttribute = class
    inherit Attribute
Public MustInherit Class AttachmentValidatorAttribute
Inherits Attribute
继承
AttachmentValidatorAttribute
派生
属性

构造函数

AttachmentValidatorAttribute()

用于附件验证的抽象基类。

属性

Configuration

用于附件验证的抽象基类。

ErrorMessage

用于附件验证的抽象基类。

方法

IsValidAsync(Attachment, String)

用于附件验证的抽象基类。

ProvideHelp()

用于附件验证的抽象基类。

适用于