IdentityBuilder.AddErrorDescriber<TDescriber> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an 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
Type Parameters
- TDescriber
The type of the error describer.
Returns
The current IdentityBuilder instance.