共用方式為


CompletionMessage(String, String, Object, Boolean) 建構函式

定義

建構 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)

參數

invocationId
String

已完成之調用的識別碼。

error
String

如果叫用失敗,則為選擇性錯誤。

result
Object

如果調用傳回結果,則為選擇性結果。

hasResult
Boolean

指定完成是否包含結果。

適用於