tools/VsIdeHostAdapter/TargetAddIn/AgentSide/VsIdeHostAdapter.cs
/// <summary>
/// ITestAdapter method: called when a message is sent from the UI or the controller.
/// </summary>
/// <param name="obj">The message object</param>
ITestAdapter method: called when a message is sent from the UI or the controller.
ITestAdapter method : called when a message is sent from the UI or the controller .
void ITestAdapter.ReceiveMessage(object obj)
        {
            try
            {
                ((ITestAdapter)HostSide).ReceiveMessage(obj);
            }
            catch (RemotingException remotingException)
            {
                SendResult("Remoting Exception in IBaseAdapter.RecieveMessage(): " + remotingException.Message, TestOutcome.Warning);
            }
        }
void ITestAdapter . ReceiveMessage ( object obj ) { try { ( ( ITestAdapter ) HostSide ) . ReceiveMessage ( obj ) ; } catch ( RemotingException remotingException ) { SendResult ( " " + remotingException . Message , TestOutcome . Warning ) ; } }
ITestAdapter method: called when a message is sent from the UI or the controller.
ITestAdapter method : called when a message is sent from the UI or the controller .
obj
object
The message object
The message object