Click or drag to resize

PFApplicationHubBroadcast Method (PFApplication, IEnumerablePFApplicationHubConnection, String, Object)

Broadcasts an event to a specified list of connections (client-side).

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public static void Broadcast(
	PFApplication application,
	IEnumerable<PFApplicationHubConnection> connections,
	string eventName,
	params Object[] parameters
)

Parameters

application
Type: Packflow.CorePFApplication
The Packflow application.
connections
Type: System.Collections.GenericIEnumerablePFApplicationHubConnection
The list of connections 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