InvocationMessage 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
InvocationMessage(String, Object[])
初始化 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[])
初始化 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[])
初始化 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。