PFApplicationHubBroadcast Method (PFApplication, IEnumerableInt64, String, Object) |
Broadcasts an event to a specified list of users (client-side).
Namespace:
Packflow.Interface
Assembly:
MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax public static void Broadcast(
PFApplication application,
IEnumerable<long> userIds,
string eventName,
params Object[] parameters
)
Parameters
- application
- Type: Packflow.CorePFApplication
The Packflow application. - userIds
- Type: System.Collections.GenericIEnumerableInt64
The id of users receiving the event.
Set to null to send to all subscribed users (of this application). - eventName
- Type: SystemString
Name of the event triggered. - parameters
- Type: SystemObject
The parameters received by the JavaScript event handler.
See Also