MQL4CSharp.Base.MQL.MQLCommandManager.GetCommandParams C# (CSharp) Метод

GetCommandParams() приватный Метод

private GetCommandParams ( System.Int64 ix, int id, [ commandParams ) : void
ix System.Int64
id int
commandParams [
Результат void
        public static void GetCommandParams(Int64 ix, int id, [In, Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder commandParams)
        {
            try
            {
                lock (getInstance(ix).syncLock)
                {
                    if (getInstance(ix).commandRequests[id].CommandWaiting)
                    {
                        commandParams.Append(getInstance(ix).getCommandParams(id));
                    }
                    else
                    {
                        LOG.Error(Error.ERROR_NO_COMMAND.ToString());
                        commandParams.Append(Error.ERROR_NO_COMMAND.ToString());
                    }
                }
            }
            catch (Exception e)
            {
                LOG.Error(e);
            }

        }