Share via


LogoutModel.OnPost(String) Method

Definition

This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> OnPost (string returnUrl = default);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> OnPost (string? returnUrl = default);
abstract member OnPost : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult>
override this.OnPost : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult>
Public Overridable Function OnPost (Optional returnUrl As String = Nothing) As Task(Of IActionResult)

Parameters

returnUrl
String

Returns

Applies to