Share via


CompletionMessage(String, String, Object, Boolean) Constructor

Definition

Constructs a CompletionMessage.

public:
 CompletionMessage(System::String ^ invocationId, System::String ^ error, System::Object ^ result, bool hasResult);
public CompletionMessage (string invocationId, string error, object result, bool hasResult);
public CompletionMessage (string invocationId, string? error, object? result, bool hasResult);
new Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage : string * string * obj * bool -> Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage
Public Sub New (invocationId As String, error As String, result As Object, hasResult As Boolean)

Parameters

invocationId
String

The ID of the invocation that has completed.

error
String

An optional error if the invocation failed.

result
Object

An optional result if the invocation returns a result.

hasResult
Boolean

Specifies whether the completion contains a result.

Applies to