PushMessengerTMessengerSendToUser Method (String, String)
|
Sends a string message to client side, only the CMS clients with login of specified user will receive this message
Namespace:
Ingeniux.CMS.Models.Messaging
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax public void SendToUser(
string message,
string userId
)
Public Sub SendToUser (
message As String,
userId As String
)
public:
virtual void SendToUser(
String^ message,
String^ userId
) sealed
abstract SendToUser :
message : string *
userId : string -> unit
override SendToUser :
message : string *
userId : string -> unit
Parameters
- message
- Type: SystemString
String message to send - userId
- Type: SystemString
User id of the user, that will receive this message at client side
Implements
IPushMessengerSendToUser(String, String)Remarks Client side can handle this message by creating function "serverMessage" on the hub object
See Also