internal void SendPSEventArgsToClient(PSEventArgs e) { using (ServerRunspacePoolDataStructureHandler.tracer.TraceMethod()) this.SendDataAsync(RemotingEncoder.GeneratePSEventArgs(this.clientRunspacePoolId, e)); }
/// <summary> /// Send a message with the PSEventArgs to the client. /// </summary> /// <param name="e">Event to send.</param> internal void SendPSEventArgsToClient(PSEventArgs e) { RemoteDataObject data = RemotingEncoder.GeneratePSEventArgs(_clientRunspacePoolId, e); SendDataAsync(data); }