public void UnprepareScript(IRemoteServerScript script) { try { var channel = GetServiceInterface(); IAsyncResult result = channel.BeginUnprepareScript(((ClientScript)script).ScriptHandle, null, null); result.AsyncWaitHandle.WaitOne(); channel.EndUnprepareScript(result); } catch (FaultException <DataphorFault> fault) { throw DataphorFaultUtility.FaultToException(fault.Detail); } catch (CommunicationException ce) { ReportCommunicationError(); throw new ServerException(ServerException.Codes.CommunicationFailure, ErrorSeverity.Environment, ce); } }
// UnprepareScript public void UnprepareScript(IRemoteServerScript script) { _serverProcess.UnprepareScript(((RemoteServerScript)script).ServerScript); }
public LocalScript(LocalProcess process, IRemoteServerScript script) : base() { _process = process; _script = script; }