Partager via


CompletionMessage.WithError(String, String) Méthode

Définition

Construit un CompletionMessage avec une erreur.

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

Paramètres

invocationId
String

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

error
String

Erreur qui s’est produite pendant l’appel.

Retours

Construit.CompletionMessage

S’applique à