共用方式為


UserValidator<TUser>(IdentityErrorDescriber) 建構函式

定義

建立 UserValidator<TUser> 的新執行個體。

public UserValidator (Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors = default);
public UserValidator (Microsoft.AspNetCore.Identity.IdentityErrorDescriber? errors = default);
new Microsoft.AspNetCore.Identity.UserValidator<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.UserValidator<'User (requires 'User : null)>
Public Sub New (Optional errors As IdentityErrorDescriber = Nothing)

參數

errors
IdentityErrorDescriber

IdentityErrorDescriber用來提供者錯誤訊息的 。

適用於