CompletionMessage.WithError(String, String) Metoda

Definice

Vytvoří s CompletionMessage chybou.

public:
 static Microsoft::AspNetCore::SignalR::Protocol::CompletionMessage ^ WithError(System::String ^ invocationId, System::String ^ error);
public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithError (string invocationId, string error);
public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithError (string invocationId, string? error);
static member WithError : string * string -> Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage
Public Shared Function WithError (invocationId As String, error As String) As CompletionMessage

Parametry

invocationId
String

ID volání, které je dokončeno.

error
String

Chyba, ke které došlo během vyvolání.

Návraty

CompletionMessage

Konstrukce CompletionMessage.

Platí pro