IPushMessengerSendToUsersT Method (T, String)
|
Sends an object to the specified users, via the users' UserId.
Namespace:
Ingeniux.CMS.Messaging
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax void SendToUsers<T>(
T obj,
string[] userIds = null
)
where T : class, new()
Sub SendToUsers(Of T As {Class, New}) (
obj As T,
Optional userIds As String() = Nothing
)
generic<typename T>
where T : ref class, gcnew()
void SendToUsers(
T obj,
array<String^>^ userIds = nullptr
)
abstract SendToUsers :
obj : 'T *
?userIds : string[]
(* Defaults:
let _userIds = defaultArg userIds null
*)
-> unit when 'T : not struct, new()
Parameters
- obj
- Type: T
Message object to send - userIds (Optional)
- Type: SystemString
The user ids of the receiving users
Type Parameters
- T
- Type of message object
Remarks When "userIds" parameter is not passed in, will send to all users.
See Also