InvocationMessage Constructors
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.
Overloads
InvocationMessage(String, Object[]) |
Initializes a new instance of the InvocationMessage class. |
InvocationMessage(String, String, Object[]) |
Initializes a new instance of the InvocationMessage class. |
InvocationMessage(String, String, Object[], String[]) |
Initializes a new instance of the InvocationMessage class. |
InvocationMessage(String, Object[])
Initializes a new instance of the InvocationMessage class.
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())
Parameters
- target
- String
The target method name.
- arguments
- Object[]
The target method arguments.
Applies to
InvocationMessage(String, String, Object[])
Initializes a new instance of the InvocationMessage class.
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())
Parameters
- invocationId
- String
The invocation ID.
- target
- String
The target method name.
- arguments
- Object[]
The target method arguments.
Applies to
InvocationMessage(String, String, Object[], String[])
Initializes a new instance of the InvocationMessage class.
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())
Parameters
- invocationId
- String
The invocation ID.
- target
- String
The target method name.
- arguments
- Object[]
The target method arguments.
- streamIds
- String[]
The target methods stream IDs.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for