Samples/Network/SignalR/SignalRChannelTest/SignalRChannelTest/ClientBridge.cs
/// <summary>
/// Override invoke to report argument exceptions
/// </summary>
/// <param name="method">export method name</param>
/// <param name="args">arguments</param>
Override invoke to report argument exceptions
Override invoke to report argument exceptions
public override void Invoke(string method, object[] args)
        {
            try
            {
                base.Invoke(method, args);
            }
            catch (ArgumentException ex)
            {
                Console.WriteLine($"Calling export {method}:{Environment.NewLine}{ex}");
            }
        }
public override void Invoke ( string method , object [ ] args ) { try { base . Invoke ( method , args ) ; } catch ( ArgumentException ex ) { Console . WriteLine ( $" Calling export  { method } : { Environment . NewLine } { ex } " ) ; } }
Override invoke to report argument exceptions
Override invoke to report argument exceptions
method
string
export method name
export method name
args
object[]
None