InvocationMessage 构造函数

定义

重载

InvocationMessage(String, Object[])

初始化 InvocationMessage 类的新实例。

InvocationMessage(String, String, Object[])

初始化 InvocationMessage 类的新实例。

InvocationMessage(String, String, Object[], String[])

初始化 InvocationMessage 类的新实例。

InvocationMessage(String, Object[])

Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs

初始化 InvocationMessage 类的新实例。

public:
 InvocationMessage(System::String ^ target, cli::array <System::Object ^> ^ arguments);
public InvocationMessage (string target, object[] arguments);
public InvocationMessage (string target, object?[]? arguments);
public InvocationMessage (string target, object?[] arguments);
new Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage : string * obj[] -> Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage
Public Sub New (target As String, arguments As Object())

参数

target
String

目标方法名称。

arguments
Object[]

目标方法参数。

适用于

InvocationMessage(String, String, Object[])

Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs

初始化 InvocationMessage 类的新实例。

public:
 InvocationMessage(System::String ^ invocationId, System::String ^ target, cli::array <System::Object ^> ^ arguments);
public InvocationMessage (string invocationId, string target, object[] arguments);
public InvocationMessage (string? invocationId, string target, object?[]? arguments);
public InvocationMessage (string? invocationId, string target, object?[] arguments);
new Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage : string * string * obj[] -> Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage
Public Sub New (invocationId As String, target As String, arguments As Object())

参数

invocationId
String

调用 ID。

target
String

目标方法名称。

arguments
Object[]

目标方法参数。

适用于

InvocationMessage(String, String, Object[], String[])

Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs
Source:
HubMethodInvocationMessage.cs

初始化 InvocationMessage 类的新实例。

public:
 InvocationMessage(System::String ^ invocationId, System::String ^ target, cli::array <System::Object ^> ^ arguments, cli::array <System::String ^> ^ streamIds);
public InvocationMessage (string invocationId, string target, object[] arguments, string[] streamIds);
public InvocationMessage (string? invocationId, string target, object?[]? arguments, string[]? streamIds);
public InvocationMessage (string? invocationId, string target, object?[] arguments, string[]? streamIds);
new Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage : string * string * obj[] * string[] -> Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage
Public Sub New (invocationId As String, target As String, arguments As Object(), streamIds As String())

参数

invocationId
String

调用 ID。

target
String

目标方法名称。

arguments
Object[]

目标方法参数。

streamIds
String[]

目标方法流式传输 ID。

适用于