CompletionMessage.WithResult(String, Object) Method
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 with a result.
public:
static Microsoft::AspNetCore::SignalR::Protocol::CompletionMessage ^ WithResult(System::String ^ invocationId, System::Object ^ payload);
public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithResult (string invocationId, object payload);
public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithResult (string invocationId, object? payload);
static member WithResult : string * obj -> Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage
Public Shared Function WithResult (invocationId As String, payload As Object) As CompletionMessage
Parameters
- invocationId
- String
The ID of the invocation that is being completed.
- payload
- Object
The result from the invocation.
Returns
The constructed CompletionMessage.
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