Udostępnij za pośrednictwem


CompletionMessage.WithResult(String, Object) Metoda

Definicja

Tworzy element CompletionMessage z wynikiem.

public:
 static Microsoft::AspNetCore::SignalR::Protocol::CompletionMessage ^ WithResult(System::String ^ invocationId, System::Object ^ payload);
public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithResult (string invocationId, object payload);
public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithResult (string invocationId, object? payload);
static member WithResult : string * obj -> Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage
Public Shared Function WithResult (invocationId As String, payload As Object) As CompletionMessage

Parametry

invocationId
String

Identyfikator wywołania, który jest ukończony.

payload
Object

Wynik wywołania.

Zwraca

Skonstruowany CompletionMessageelement .

Dotyczy