Dela via


SerializedMessage(String, ReadOnlyMemory<Byte>) Constructor

Definition

Initializes a new instance of the SerializedMessage class.

public:
 SerializedMessage(System::String ^ protocolName, ReadOnlyMemory<System::Byte> serialized);
public SerializedMessage (string protocolName, ReadOnlyMemory<byte> serialized);
new Microsoft.AspNetCore.SignalR.SerializedMessage : string * ReadOnlyMemory<byte> -> Microsoft.AspNetCore.SignalR.SerializedMessage
Public Sub New (protocolName As String, serialized As ReadOnlyMemory(Of Byte))

Parameters

protocolName
String

The protocol of the serialized message.

serialized
ReadOnlyMemory<Byte>

The serialized representation of the message.

Applies to