コード例 #1
0
 /// <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));
 }
コード例 #2
0
 internal void SendOutputDataToClient(PSObject data)
 {
     using (ServerPowerShellDataStructureHandler.tracer.TraceMethod())
         this.SendDataAsync(RemotingEncoder.GeneratePowerShellOutput(data, this.clientPowerShellId, this.clientRunspacePoolId));
 }