Click or drag to resize
BroccoliSharp BroConnectionRegisterForEvent Method (String, Object)
Registers for events that arrive with the name of eventName.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public void RegisterForEvent(
	string eventName,
	Object userData = null
)

Parameters

eventName
Type: SystemString
Event name to register for.
userData (Optional)
Type: SystemObject
Any user-data to be passed to event.
Exceptions
ExceptionCondition
ArgumentNullExceptioneventName is null.
ObjectDisposedExceptionCannot register for event, BroConnection is disposed.
See Also