語言

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
衍生
屬性

建構函式

名稱 Description
AttachmentValidatorAttribute()

用於附件驗證的抽象基類。

屬性

名稱 Description
Configuration

用於附件驗證的抽象基類。

ErrorMessage

用於附件驗證的抽象基類。

方法

名稱 Description
IsValidAsync(Attachment, String)

用於附件驗證的抽象基類。

ProvideHelp()

用於附件驗證的抽象基類。

適用於