Sdílet prostřednictvím


IdentityBuilder.AddErrorDescriber<TDescriber> Metoda

Definice

Přidá objekt IdentityErrorDescriber.

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

Parametry typu

TDescriber

Typ popisovače chyby.

Návraty

Aktuální IdentityBuilder instance.

Platí pro