Condividi tramite


CompletionMessage.WithResult(String, Object) Metodo

Definizione

Costruisce un CompletionMessage oggetto con un risultato.

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

Parametri

invocationId
String

ID della chiamata completata.

payload
Object

Risultato della chiamata.

Restituisce

Oggetto costruito CompletionMessage.

Si applica a