Partager via


CompletionMessage.WithResult(String, Object) Méthode

Définition

Construit un CompletionMessage avec un résultat.

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

Paramètres

invocationId
String

ID de l’appel en cours d’exécution.

payload
Object

Résultat de l’appel.

Retours

Construit.CompletionMessage

S’applique à