Share via


StreamItemMessage(String, Object) Constructor

Definition

Constructs a StreamItemMessage.

public:
 StreamItemMessage(System::String ^ invocationId, System::Object ^ item);
public StreamItemMessage (string invocationId, object item);
public StreamItemMessage (string invocationId, object? item);
new Microsoft.AspNetCore.SignalR.Protocol.StreamItemMessage : string * obj -> Microsoft.AspNetCore.SignalR.Protocol.StreamItemMessage
Public Sub New (invocationId As String, item As Object)

Parameters

invocationId
String

The ID of the stream.

item
Object

An item from the stream.

Applies to