ChannelClientScopeConstructor

Switch to Manual
public ChannelClientScope (bool autoTick, string channelName, Action<string> handler, bool closeClientOnExit);
public ChannelClientScope (bool autoTick, string channelName, Action<byte[]> handler, bool closeClientOnExit);

Parameters

autoTickIf true, starts the channel client in auto tick mode.
channelNameName of the channel to open.
handlerHandler to process message on the channel.
closeClientOnExitIf true, closes the client on exit.

Description

Create a new Channel Client scope.