8 references to WithError
Microsoft.AspNetCore.SignalR.Core (8)
Internal\DefaultHubDispatcher.cs (6)
260
var message = CompletionMessage.
WithError
(bindingFailureMessage.Id, errorString);
292
return connection.WriteAsync(CompletionMessage.
WithError
(
602
await connection.WriteAsync(CompletionMessage.
WithError
(invocationId, error));
655
await connection.WriteAsync(CompletionMessage.
WithError
(invocationId, errorMessage));
699
await connection.WriteAsync(CompletionMessage.
WithError
(hubMethodInvocationMessage.InvocationId,
709
await connection.WriteAsync(CompletionMessage.
WithError
(hubMethodInvocationMessage.InvocationId!,
src\aspnetcore\src\SignalR\common\Shared\ClientResultsManager.cs (2)
48
invocationInfo.Complete(invocationInfo.Tcs, CompletionMessage.
WithError
(invocationId, "ID collision occurred when using client results. This is likely a bug in SignalR."));
152
_clientResultsManager.TryCompleteResult(_connectionId, CompletionMessage.
WithError
(_invocationId, "Invocation canceled by the server."));