共用方式為


BearerTokenEvents.MessageReceivedAsync(MessageReceivedContext) 方法

定義

第一次收到通訊協定訊息時叫用。

public virtual System.Threading.Tasks.Task MessageReceivedAsync (Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext context);
abstract member MessageReceivedAsync : Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext -> System.Threading.Tasks.Task
override this.MessageReceivedAsync : Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext -> System.Threading.Tasks.Task
Public Overridable Function MessageReceivedAsync (context As MessageReceivedContext) As Task

參數

傳回

適用於