共用方式為


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 執行個體。

適用於