共用方式為


WsFederationEvents.OnMessageReceived 屬性

定義

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

public:
 property Func<Microsoft::AspNetCore::Authentication::WsFederation::MessageReceivedContext ^, System::Threading::Tasks::Task ^> ^ OnMessageReceived { Func<Microsoft::AspNetCore::Authentication::WsFederation::MessageReceivedContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::WsFederation::MessageReceivedContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.WsFederation.MessageReceivedContext,System.Threading.Tasks.Task> OnMessageReceived { get; set; }
member this.OnMessageReceived : Func<Microsoft.AspNetCore.Authentication.WsFederation.MessageReceivedContext, System.Threading.Tasks.Task> with get, set
Public Property OnMessageReceived As Func(Of MessageReceivedContext, Task)

屬性值

適用於