IdentityBuilder.AddErrorDescriber<TDescriber> 方法

定义

public:
generic <typename TDescriber>
 where TDescriber : Microsoft::AspNetCore::Identity::IdentityErrorDescriber virtual Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddErrorDescriber();
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddErrorDescriber<TDescriber> () where TDescriber : Microsoft.AspNetCore.Identity.IdentityErrorDescriber;
abstract member AddErrorDescriber : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Describer :> Microsoft.AspNetCore.Identity.IdentityErrorDescriber)
override this.AddErrorDescriber : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Describer :> Microsoft.AspNetCore.Identity.IdentityErrorDescriber)
Public Overridable Function AddErrorDescriber(Of TDescriber As IdentityErrorDescriber) () As IdentityBuilder

类型参数

TDescriber

错误描述符的类型。

返回

当前的 IdentityBuilder 实例。

适用于