SerializedMessage(String, ReadOnlyMemory<Byte>) Constructor
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.
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.