PushMessengerTMessengerSendToMeT Method (T)
|
Sends a message containing an object to client side, only the CMS clients with login of
Current User will receive this message
Namespace:
Ingeniux.CMS.Models.Messaging
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax public void SendToMe<T>(
T obj
)
where T : class, new()
Public Sub SendToMe(Of T As {Class, New}) (
obj As T
)
public:
generic<typename T>
where T : ref class, gcnew()
virtual void SendToMe(
T obj
) sealed
abstract SendToMe :
obj : 'T -> unit when 'T : not struct, new()
override SendToMe :
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
IPushMessengerSendToMeT(T)Remarks Client side can handle this message by creating function "serverRestMessage" on the hub object
See Also