/// <summary> /// Send the output data to the client. /// </summary> /// <param name="data">Data to send.</param> internal void SendOutputDataToClient(PSObject data) { SendDataAsync(RemotingEncoder.GeneratePowerShellOutput(data, _clientPowerShellId, _clientRunspacePoolId)); }
internal void SendOutputDataToClient(PSObject data) { using (ServerPowerShellDataStructureHandler.tracer.TraceMethod()) this.SendDataAsync(RemotingEncoder.GeneratePowerShellOutput(data, this.clientPowerShellId, this.clientRunspacePoolId)); }