internal void SendHostResponseToServer(RemoteHostResponse hostResponse) { using (ClientPowerShellDataStructureHandler.tracer.TraceMethod()) this.transportManager.DataToBeSentCollection.Add <PSObject>(RemoteDataObject <PSObject> .CreateFrom(RemotingDestination.Server, RemotingDataType.RemotePowerShellHostResponseData, this.clientRunspacePoolId, this.clientPowerShellId, hostResponse.Encode()), DataPriorityType.PromptResponse); }
internal void SendHostResponseToServer(RemoteHostResponse hostResponse) { using (ClientRunspacePoolDataStructureHandler.tracer.TraceMethod()) this.SendDataAsync(hostResponse.Encode(), DataPriorityType.PromptResponse); }
internal void SendHostResponseToServer(RemoteHostResponse hostResponse) { RemoteDataObject <PSObject> data = RemoteDataObject <PSObject> .CreateFrom(RemotingDestination.InvalidDestination | RemotingDestination.Server, RemotingDataType.RemotePowerShellHostResponseData, this.clientRunspacePoolId, this.clientPowerShellId, hostResponse.Encode()); this.transportManager.DataToBeSentCollection.Add <PSObject>(data, DataPriorityType.PromptResponse); }
internal void SendHostResponseToServer(RemoteHostResponse hostResponse) { this.SendDataAsync(hostResponse.Encode(), DataPriorityType.PromptResponse); }