Click or drag to resize

ServerChannelAddRequestHandler Method

Registers a handler identified by the supplied name.

Namespace:  OBCOM.NetSwitchLib.Servers
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public void AddRequestHandler(
	string name,
	RequestHandler handler
)

Parameters

name
Type: SystemString
The name of the request handler to be registered.
handler
Type: OBCOM.NetSwitchLib.ServersRequestHandler
The request handler called when a request message is received.
Exceptions
ExceptionCondition
ArgumentNullException An argument is null or empty.
See Also