PushMessengerTMessengerSendToAllT Method (T)
|
Sends a message containing an object to every logged-in user at client side
Namespace:
Ingeniux.CMS.Models.Messaging
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax public void SendToAll<T>(
T obj
)
where T : class, new()
Public Sub SendToAll(Of T As {Class, New}) (
obj As T
)
public:
generic<typename T>
where T : ref class, gcnew()
virtual void SendToAll(
T obj
) sealed
abstract SendToAll :
obj : 'T -> unit when 'T : not struct, new()
override SendToAll :
obj : 'T -> unit when 'T : not struct, new()
Parameters
- obj
- Type: T
The object to send out
Type Parameters
- T
- Type of the object to send as message
Implements
IPushMessengerSendToAllT(T)Remarks Client side can handle this message by creating function "serverRestMessage" on the hub object
See Also