Udostępnij za pośrednictwem


IdentityBuilder.AddErrorDescriber<TDescriber> Metoda

Definicja

Dodaje element 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 opisu błędu.

Zwraca

Bieżące IdentityBuilder wystąpienie.

Dotyczy