CompletionMessage(String, String, Object, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.