Share via


SerializedHubMessage Constructors

Definition

Overloads

SerializedHubMessage(HubMessage)

Initializes a new instance of the SerializedHubMessage class.

SerializedHubMessage(IReadOnlyList<SerializedMessage>)

Initializes a new instance of the SerializedHubMessage class.

SerializedHubMessage(HubMessage)

Source:
SerializedHubMessage.cs
Source:
SerializedHubMessage.cs
Source:
SerializedHubMessage.cs

Initializes a new instance of the SerializedHubMessage class.

public:
 SerializedHubMessage(Microsoft::AspNetCore::SignalR::Protocol::HubMessage ^ message);
public SerializedHubMessage (Microsoft.AspNetCore.SignalR.Protocol.HubMessage message);
new Microsoft.AspNetCore.SignalR.SerializedHubMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage -> Microsoft.AspNetCore.SignalR.SerializedHubMessage
Public Sub New (message As HubMessage)

Parameters

message
HubMessage

The hub message for the cache. This will be serialized with an IHubProtocol in GetSerializedMessage(IHubProtocol) to get the message's serialized representation.

Applies to

SerializedHubMessage(IReadOnlyList<SerializedMessage>)

Source:
SerializedHubMessage.cs
Source:
SerializedHubMessage.cs
Source:
SerializedHubMessage.cs

Initializes a new instance of the SerializedHubMessage class.

public:
 SerializedHubMessage(System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::SignalR::SerializedMessage> ^ messages);
public SerializedHubMessage (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.SignalR.SerializedMessage> messages);
new Microsoft.AspNetCore.SignalR.SerializedHubMessage : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.SignalR.SerializedMessage> -> Microsoft.AspNetCore.SignalR.SerializedHubMessage
Public Sub New (messages As IReadOnlyList(Of SerializedMessage))

Parameters

messages
IReadOnlyList<SerializedMessage>

A collection of already serialized messages to cache.

Applies to