private void ThrowIfFail(bool result) { if (!result) { string msg; var error = commClient.GetLastError(connect, out msg); throw new Exception(msg); } }
private void ThrowIfFail(bool result) { if (!result) { string msg; var error = commClient.GetLastError(connect, out msg); throw new Exception(msg); } }